Skip to content

chore: use fireDecoratorEvent over fireEvent #5498

chore: use fireDecoratorEvent over fireEvent

chore: use fireDecoratorEvent over fireEvent #5498

Triggered via pull request December 20, 2024 14:03
Status Failure
Total duration 1m 35s
Artifacts

ci-test-website.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

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