Convert @emotion/react
's source code to TypeScript
#1275
main.yml
on: pull_request
TypeScript
54s
Test React 18
1m 50s
Test Prod
1m 25s
Test Dist
1m 43s
Linting
3m 16s
dtslint
2m 18s
Matrix: test
Annotations
14 errors and 7 warnings
TypeScript:
packages/primitives-core/src/styled.ts#L67
Argument of type '{}' is not assignable to parameter of type 'ElementType<any, keyof IntrinsicElements>'.
|
TypeScript:
packages/primitives-core/src/styled.ts#L84
No overload matches this call.
|
TypeScript:
packages/react/src/jsx-dev-runtime.ts#L29
Argument of type 'unknown' is not assignable to parameter of type '{ css: Interpolation<Theme>; }'.
|
TypeScript
Process completed with exit code 2.
|
dtslint
Module '"/home/runner/work/emotion/emotion/node_modules/@types/hoist-non-react-statics/index"' can only be default-imported using the 'esModuleInterop' flag
|
dtslint
Cannot find module '../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
|
dtslint
Cannot find name 'jest'.
|
dtslint
Cannot find name 'global'. Did you mean 'Global'?
|
dtslint
Argument of type '{}' is not assignable to parameter of type 'Theme'.
|
dtslint
Argument of type 'Partial<Theme> | ((outerTheme: Theme) => Theme)' is not assignable to parameter of type 'Theme'.
|
dtslint
Module '"/home/runner/work/emotion/emotion/node_modules/@types/hoist-non-react-statics/index"' can only be default-imported using the 'esModuleInterop' flag
|
dtslint
Cannot find module '../package.json'. Consider using '--resolveJsonModule' to import module with '.json' extension.
|
dtslint
Cannot find name 'jest'.
|
dtslint
Cannot find name 'global'. Did you mean 'Global'?
|
TypeScript
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 Dist
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
|
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
|
Linting
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|