diff options
author | 2022-10-28 17:06:00 -0700 | |
---|---|---|
committer | 2022-10-28 17:06:00 -0700 | |
commit | 619d931568cdb2315f58d9828a16a62dec0fc214 (patch) | |
tree | 4f167535ffe035538ef9af2d6b18304577ab91ec /src | |
parent | 50a3853eb47df099e307023551aa74379af1d156 (diff) | |
download | bun-619d931568cdb2315f58d9828a16a62dec0fc214.tar.gz bun-619d931568cdb2315f58d9828a16a62dec0fc214.tar.zst bun-619d931568cdb2315f58d9828a16a62dec0fc214.zip |
Update default tsconfig (#1418)
Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu>
Diffstat (limited to 'src')
-rw-r--r-- | src/cli/tsconfig-for-init.json | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/cli/tsconfig-for-init.json b/src/cli/tsconfig-for-init.json index feee4b584..a659f9e5b 100644 --- a/src/cli/tsconfig-for-init.json +++ b/src/cli/tsconfig-for-init.json @@ -1,14 +1,19 @@ { "compilerOptions": { - "lib": ["ESNext"], + "lib": [ + "ESNext" + ], "module": "esnext", "target": "esnext", "moduleResolution": "node", - + "strict": true, + "skipLibCheck": true, + "forceConsistentCasingInFileNames": true, // so that if your project isn't using TypeScript, it still has autocomplete "allowJs": true, - // "bun-types" is the important part - "types": ["bun-types"] + "types": [ + "bun-types" + ] } -} +}
\ No newline at end of file |