chore: use fireDecoratorEvent over fireEvent #5498
Annotations
10 errors and 1 warning
check:
packages/main/src/Menu.ts#L121
Unable to resolve signature of class decorator when called as an expression.
|
check:
packages/main/src/Menu.ts#L121
Decorator function return type 'void | MenuItemClickEventDetail' is not assignable to type 'void | typeof Menu'.
|
check:
packages/main/src/Menu.ts#L121
Expected 2 type arguments, but got 1.
|
check:
packages/main/src/Menu.ts#L148
Unable to resolve signature of class decorator when called as an expression.
|
check:
packages/main/src/Menu.ts#L148
Decorator function return type 'void | MenuBeforeOpenEventDetail' is not assignable to type 'void | typeof Menu'.
|
check:
packages/main/src/Menu.ts#L148
Expected 2 type arguments, but got 1.
|
check:
packages/main/src/Menu.ts#L175
Argument of type '"close-menu"' is not assignable to parameter of type '"open" | "close" | "before-open" | "before-close" | "item-click"'.
|
check:
packages/main/src/Menu.ts#L186
Unable to resolve signature of class decorator when called as an expression.
|
check:
packages/main/src/Menu.ts#L186
Decorator function return type 'void | MenuBeforeCloseEventDetail' is not assignable to type 'void | typeof Menu'.
|
check:
packages/main/src/Menu.ts#L186
Expected 2 type arguments, but got 1.
|
check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|