feat: add TypeScript plugin #1902
Annotations
1 error and 1 warning
Code PushUp
✘ [ERROR] The symbol "noFallthroughCasesInSwitchCodes" has already been declared
packages/plugin-typescript/src/lib/internal/known-ts-error-codes.ts:47:6:
47 │ const noFallthroughCasesInSwitchCodes = [7029];
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The symbol "noFallthroughCasesInSwitchCodes" was originally declared here:
packages/plugin-typescript/src/lib/internal/known-ts-error-codes.ts:40:6:
40 │ const noFallthroughCasesInSwitchCodes = [7029];
╵ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: Build failed with 1 error:
packages/plugin-typescript/src/lib/internal/known-ts-error-codes.ts:47:6: ERROR: The symbol "noFallthroughCasesInSwitchCodes" has already been declared
at failureErrorWithLog (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1651:15)
at /home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1059:25
at runOnEndCallbacks (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1486:45)
at buildResponseToResult (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1057:7)
at /home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1086:16
at responseCallbacks.<computed> (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:704:9)
at handleIncomingPacket (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:764:9)
at Socket.readFromStdout (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:680:7)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12) {
errors: [Getter/Setter],
warnings: [Getter/Setter]
}
Error: Build failed with 1 error:
packages/plugin-typescript/src/lib/internal/known-ts-error-codes.ts:47:6: ERROR: The symbol "noFallthroughCasesInSwitchCodes" has already been declared
at failureErrorWithLog (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1651:15)
at /home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1059:25
at runOnEndCallbacks (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1486:45)
at buildResponseToResult (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1057:7)
at /home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:1086:16
at responseCallbacks.<computed> (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:704:9)
at handleIncomingPacket (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:764:9)
at Socket.readFromStdout (/home/runner/work/cli/cli/node_modules/esbuild/lib/main.js:680:7)
at Socket.emit (node:events:518:28)
at addChunk (node:internal/streams/readable:561:12) {
errors: [Getter/Setter],
warnings: [Getter/Setter]
}
Warning: command "node packages/cli/src/index.ts print-config" exited with non-zero status code
|
Code PushUp
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|