extends field in tsconfig.json
#31776
Replies: 2 comments 3 replies
-
|
The first one is supposed to work, are you sure you have a |
Beta Was this translation helpful? Give feedback.
-
|
Yes of course! Actually I did some experiments and verified it. With the former $ ./target/debug/deno run --config tsconfig.json ./tests/testdata/run/002_hello.ts
[libs/resolver/deno_json.rs:1195:5] extends_targets.len() = 0
Hello Worldbut with the latter it is: $ ./target/debug/deno run --config tsconfig.json ./tests/testdata/run/002_hello.ts
[libs/resolver/deno_json.rs:1195:5] extends_targets.len() = 0
[libs/resolver/deno_json.rs:1195:5] extends_targets.len() = 1
Hello WorldI'm not completely sure what's going on (especially the reason why |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to, for example, use this
{ "extends": ["@tsconfig/vite-react/tsconfig.json"] }rather than this?
{ "extends": ["./node_modules/@tsconfig/vite-react/tsconfig.json"] }I noticed that the former is apparently not working correctly, and am curious about whether it is supported in the first place.
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions