1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-21 15:04:11 -05:00

fix: error on unsupported compiler options (#25714)

Update the config schema to error when adding unsupported
`compilerOptions`.

Fixes https://github.com/denoland/deno/issues/25696
This commit is contained in:
Marvin Hagemeister 2024-09-18 20:49:16 +02:00 committed by GitHub
parent ec86089c4e
commit f347e779e0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,7 @@
"compilerOptions": { "compilerOptions": {
"type": "object", "type": "object",
"description": "Instructs the TypeScript compiler how to compile .ts files.", "description": "Instructs the TypeScript compiler how to compile .ts files.",
"additionalProperties": false,
"properties": { "properties": {
"allowJs": { "allowJs": {
"description": "Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files.", "description": "Allow JavaScript files to be a part of your program. Use the `checkJS` option to get errors from these files.",