Skip to content

Remove React.forwardRef #1313

Remove React.forwardRef

Remove React.forwardRef #1313

Triggered via pull request December 9, 2024 12:16
Status Failure
Total duration 3m 8s
Artifacts

main.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

16 errors and 7 warnings
TypeScript: packages/react/src/emotion-element.tsx#L113
Argument of type '(props: any, cache: any, ref: any) => Element' is not assignable to parameter of type '(props: EmotionProps, context: EmotionCache) => ReactNode'.
TypeScript: packages/react/src/emotion-element.tsx#L113
Parameter 'props' implicitly has an 'any' type.
TypeScript: packages/react/src/emotion-element.tsx#L113
Parameter 'cache' implicitly has an 'any' type.
TypeScript: packages/react/src/emotion-element.tsx#L113
Parameter 'ref' implicitly has an 'any' type.
TypeScript: packages/react/src/index.ts#L33
Module '"./types"' has no exported member 'PropsOf'.
TypeScript: packages/styled/src/base.tsx#L123
Argument of type '(props: Record<string, unknown>, cache: any, ref: any) => Element' is not assignable to parameter of type '(props: Record<string, unknown>, context: EmotionCache) => ReactNode'.
TypeScript: packages/styled/src/base.tsx#L123
Parameter 'cache' implicitly has an 'any' type.
TypeScript: packages/styled/src/base.tsx#L123
Parameter 'ref' implicitly has an 'any' type.
TypeScript
Process completed with exit code 2.
Test React 18
Process completed with exit code 1.
Test Dist
Process completed with exit code 1.
dtslint
Module '"./types.js"' has no exported member 'PropsOf'.
dtslint
Module '"./types.js"' has no exported member 'PropsOf'.
dtslint
Process completed with exit code 1.
Tests on ubuntu-latest
Process completed with exit code 1.
Tests on windows-latest
Process completed with exit code 1.
TypeScript
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Prod
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test React 18
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Test Dist
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
dtslint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Tests on ubuntu-latest
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636