Update TypeScript config to ES2020 to fix AJV imports #2886
main.yml
on: pull_request
Matrix: test
build
13s
publish
0s
Annotations
3 errors
|
build
Process completed with exit code 2.
|
|
build:
src/__fixtures__/testServer.ts#L11
Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.
|
|
build:
src/__fixtures__/serverThatHangs.ts#L21
Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', 'node18', 'node20', 'nodenext', or 'preserve', and the 'target' option is set to 'es2017' or higher.
|