Skip to content

[v1.3.3] Migrate to store #12

[v1.3.3] Migrate to store

[v1.3.3] Migrate to store #12

Triggered via push June 15, 2023 10:33
Status Failure
Total duration 1m 16s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
Run linters: src/components/ContextMenu.tsx#L99
Type '(props: MenuControlItemProps, ref: React.RefObject<MenuControlItemRef>) => JSX.Element' is not assignable to type '(data: { onClose: () => void; disabled: boolean; isFocused: boolean; }, ref?: Ref<{ activate: () => boolean; blur: () => void; focus: () => void; }> | undefined) => ReactElement<any, string | JSXElementConstructor<any>>'.
Run linters: src/components/ContextMenu.tsx#L141
Property 'onClose' is missing in type '{ children: ReactElement<any, string | JSXElementConstructor<any>>; navId: string; }' but required in type 'MenuProps'.
Run linters: src/index.tsx#L20
Type 'string' is not assignable to type 'GuildClasses | Record<string, string>'.
Run linters: src/index.tsx#L20
Type 'GuildClasses' does not satisfy the constraint 'PropertyKey'.
Run linters: src/lib/store.ts#L2
Cannot find module 'replugged/dist/renderer/modules/webpack/common/flux' or its corresponding type declarations.
Run linters: src/lib/store.ts#L40
Conversion of type 'Store' to type 'CounterStore' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first.
Run linters
Process completed with exit code 1.
Run linters
Node.js 12 actions are deprecated. Please update the following actions to use Node.js 16: actions/checkout@v2. For more information see: https://github.blog/changelog/2022-09-22-github-actions-all-actions-will-begin-running-on-node16-instead-of-node12/.
Run linters: src/components/Counter.tsx#L23
This assertion is unnecessary since it does not change the type of the expression