Skip to content

feat: add "or undefined" explicitly to support exactOptionalPropertyTypes #535

feat: add "or undefined" explicitly to support exactOptionalPropertyTypes

feat: add "or undefined" explicitly to support exactOptionalPropertyTypes #535

Triggered via pull request July 29, 2023 16:25
@solufasolufa
synchronize #129
iss-123
Status Failure
Total duration 44s
Artifacts

nodejs.yml

on: pull_request
Matrix: test
release
0s
release
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 4 warnings
Test on Node:16 OS:ubuntu-latest: node_modules/next/dist/pages/_app.d.ts#L16
Namespace 'React' has no exported member 'JSX'.
Test on Node:16 OS:ubuntu-latest: node_modules/next/dist/server/base-http/node.d.ts#L9
Cannot find module 'node:http' or its corresponding type declarations.
Test on Node:16 OS:ubuntu-latest: node_modules/next/dist/server/dev/next-dev-server.d.ts#L98
Property 'generateRoutes' in type 'DevServer' is not assignable to the same property in base type 'NextNodeServer'.
Test on Node:16 OS:ubuntu-latest: node_modules/next/dist/server/next-server.d.ts#L87
Property 'sendRenderResult' in type 'NextNodeServer' is not assignable to the same property in base type 'Server<Options>'.
Test on Node:16 OS:ubuntu-latest: node_modules/next/dist/shared/lib/head.d.ts#L9
Namespace 'React' has no exported member 'JSX'.
Test on Node:16 OS:ubuntu-latest: projects/nextjs-appdir/app/%E6%97%A5%E6%9C%AC%E8%AA%9E/page.tsx#L2
Cannot use JSX unless the '--jsx' flag is provided.
Test on Node:16 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
Test on Node:16 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
Property 'onClick' does not exist on type '{}'.
Test on Node:16 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
Property 'href' does not exist on type '{}'.
Test on Node:18 OS:ubuntu-latest: node_modules/next/dist/pages/_app.d.ts#L16
Namespace 'React' has no exported member 'JSX'.
Test on Node:18 OS:ubuntu-latest: node_modules/next/dist/server/base-http/node.d.ts#L9
Cannot find module 'node:http' or its corresponding type declarations.
Test on Node:18 OS:ubuntu-latest: node_modules/next/dist/server/dev/next-dev-server.d.ts#L98
Property 'generateRoutes' in type 'DevServer' is not assignable to the same property in base type 'NextNodeServer'.
Test on Node:18 OS:ubuntu-latest: node_modules/next/dist/server/next-server.d.ts#L87
Property 'sendRenderResult' in type 'NextNodeServer' is not assignable to the same property in base type 'Server<Options>'.
Test on Node:18 OS:ubuntu-latest: node_modules/next/dist/shared/lib/head.d.ts#L9
Namespace 'React' has no exported member 'JSX'.
Test on Node:18 OS:ubuntu-latest: projects/nextjs-appdir/app/%E6%97%A5%E6%9C%AC%E8%AA%9E/page.tsx#L2
Cannot use JSX unless the '--jsx' flag is provided.
Test on Node:18 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
Test on Node:18 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
Property 'onClick' does not exist on type '{}'.
Test on Node:18 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
Property 'href' does not exist on type '{}'.
Test on Node:20 OS:ubuntu-latest: node_modules/next/dist/pages/_app.d.ts#L16
Namespace 'React' has no exported member 'JSX'.
Test on Node:20 OS:ubuntu-latest: node_modules/next/dist/server/base-http/node.d.ts#L9
Cannot find module 'node:http' or its corresponding type declarations.
Test on Node:20 OS:ubuntu-latest: node_modules/next/dist/server/dev/next-dev-server.d.ts#L98
Property 'generateRoutes' in type 'DevServer' is not assignable to the same property in base type 'NextNodeServer'.
Test on Node:20 OS:ubuntu-latest: node_modules/next/dist/server/next-server.d.ts#L87
Property 'sendRenderResult' in type 'NextNodeServer' is not assignable to the same property in base type 'Server<Options>'.
Test on Node:20 OS:ubuntu-latest: node_modules/next/dist/shared/lib/head.d.ts#L9
Namespace 'React' has no exported member 'JSX'.
Test on Node:20 OS:ubuntu-latest: projects/nextjs-appdir/app/%E6%97%A5%E6%9C%AC%E8%AA%9E/page.tsx#L2
Cannot use JSX unless the '--jsx' flag is provided.
Test on Node:20 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
Test on Node:20 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
Property 'onClick' does not exist on type '{}'.
Test on Node:20 OS:ubuntu-latest: projects/nextjs-appdir/app/(group1)/[pid]/page.tsx#L7
Property 'href' does not exist on type '{}'.
Test on Node:18 OS:windows-latest
The operation was canceled.
Test on Node:16 OS:ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test on Node:18 OS:ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test on Node:20 OS:ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Test on Node:18 OS:windows-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/