Bump use-context-selector from 1.2.11 to 2.0.0 #17724
Annotations
10 errors
Lint:
packages/units/src/useUnits.ts#L31
Argument of type 'import("/home/runner/work/web-stories-wp/web-stories-wp/node_modules/use-context-selector/dist/index").Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/units/src/types").State>' is not assignable to parameter of type 'React.Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/units/src/types").State>'.
|
Lint:
packages/design-system/src/components/contextMenu/contextMenuProvider/useContextMenu.ts#L33
Argument of type 'import("/home/runner/work/web-stories-wp/web-stories-wp/node_modules/use-context-selector/dist/index").Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/design-system/src/components/contextMenu/types").ContextMenuProvider>' is not assignable to parameter of type 'React.Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/design-system/src/components/contextMenu/types").ContextMenuProvider>'.
|
Lint:
packages/design-system/src/contexts/snackbar/useSnackbar.ts#L33
Argument of type 'import("/home/runner/work/web-stories-wp/web-stories-wp/node_modules/use-context-selector/dist/index").Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/design-system/src/types/snackbar").SnackbarState>' is not assignable to parameter of type 'React.Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/design-system/src/types/snackbar").SnackbarState>'.
|
Lint:
packages/design-system/src/contexts/popup/usePopup.ts#L33
Argument of type 'import("/home/runner/work/web-stories-wp/web-stories-wp/node_modules/use-context-selector/dist/index").Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/design-system/src/contexts/popup/types").PopupState>' is not assignable to parameter of type 'React.Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/design-system/src/contexts/popup/types").PopupState>'.
|
Lint:
packages/rich-text/src/formatters/util.ts#L20
Cannot find module '@googleforcreators/elements' or its corresponding type declarations.
|
Lint:
packages/rich-text/src/useRichText.ts#L30
Argument of type 'import("/home/runner/work/web-stories-wp/web-stories-wp/node_modules/use-context-selector/dist/index").Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/rich-text/src/types").State>' is not assignable to parameter of type 'React.Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/rich-text/src/types").State>'.
|
Lint:
packages/rich-text/src/getFontVariants.ts#L29
Cannot find module '@googleforcreators/elements' or its corresponding type declarations.
|
Lint:
packages/transform/src/useTransform.ts#L28
Argument of type 'import("/home/runner/work/web-stories-wp/web-stories-wp/node_modules/use-context-selector/dist/index").Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/transform/src/types").State>' is not assignable to parameter of type 'React.Context<import("/home/runner/work/web-stories-wp/web-stories-wp/packages/transform/src/types").State>'.
|
Lint:
packages/test-utils/src/renderWithTheme.tsx#L22
Cannot find module '@googleforcreators/design-system' or its corresponding type declarations.
|
Lint
Process completed with exit code 2.
|