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:
parent
ec86089c4e
commit
f347e779e0
1 changed files with 1 additions and 0 deletions
|
@ -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.",
|
||||||
|
|
Loading…
Reference in a new issue