refactor: upgrade react and styled-components version #127
lint-test-build.yml
on: pull_request
lint-test-build
2m 34s
Annotations
10 errors and 1 warning
lint-test-build
No overload matches this call.
|
lint-test-build
Argument of type '({ theme: { avatar }, size }: StyledProps & WithThemeProp) => string' is not assignable to parameter of type 'Interpolation<Substitute<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { ref?: ((instance: HTMLDivElement | null) => void) | ... 2 more ... | undefined; }, StyledProps>>'.
|
lint-test-build
Type 'DefaultTheme' is missing the following properties from type 'Theme': loader, icon, avatar, breakpoints, and 33 more.
|
lint-test-build
Argument of type '(props: ExecutionContext & FastOmit<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { ...; }, keyof CardProps> & CardProps) => RuleSet<...> | (({ theme, onClick }: CardProps & WithThemeProp) => RuleSet<...>)' is not assignable to parameter of type 'Interpolation<Substitute<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { ref?: ((instance: HTMLDivElement | null) => void) | ... 2 more ... | undefined; }, CardProps>>'.
|
lint-test-build
Argument of type '({ hasError, disabled, theme }: CheckboxProps & WithThemeProp) => RuleSet<object>' is not assignable to parameter of type 'Interpolation<Substitute<FastOmit<Substitute<DetailedHTMLProps<InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, Omit<...> & { ...; }>, never>, CheckboxProps>>'.
|
lint-test-build
Argument of type '({ theme, size }: { size?: CheckboxSizes | undefined; } & WithThemeProp) => string' is not assignable to parameter of type 'Interpolation<Substitute<Omit<DetailedHTMLProps<HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & { ref?: ((instance: HTMLDivElement | null) => void) | ... 2 more ... | undefined; }, { ...; }>>'.
|
lint-test-build
Argument of type '({ disabled }: ExecutionContext & FastOmit<Omit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & { ...; }, "isActive" | keyof CheckboxProps> & CheckboxProps & { ...; }) => false | (({ isActive, hasError, theme }: CheckboxProps & ... 1 more ... & WithThemeProp) => RuleSet<...>)' is not assignable to parameter of type 'Interpolation<Substitute<Omit<DetailedHTMLProps<LabelHTMLAttributes<HTMLLabelElement>, HTMLLabelElement>, "ref"> & { ...; }, CheckboxProps & { ...; }>>'.
|
lint-test-build
No overload matches this call.
|
lint-test-build
No overload matches this call.
|
lint-test-build
No overload matches this call.
|
lint-test-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-node@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|