tsconfig improvements
See original GitHub issuethere are few redundancies within tsconfig.
Also I suggest adding strict:true
I can send PR if you’re ok with that 😃
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
TSConfig Reference - Docs on every TSConfig option
From allowJs to useDefineForClassFields the TSConfig reference includes information ... between components, and organize your code in new and improved ways.
Read more >Performance · microsoft/TypeScript Wiki - GitHub
Each project has its own tsconfig.json that has dependencies on other projects. This can be helpful to avoid loading too many files in...
Read more >Improving code quality in Typescript with compiler options
Switching from JavaScript to Typescript is a huge improvement in any ... Compiler options are properties in the tsconfig.json file that can ...
Read more >20 TypeScript Compiler Options for your TSCONFIG.JSON
Using TypeScript with the default options makes your code a lot safer than JavaScript, but did you know that the type safety can...
Read more >Lost all intellisense after 17.3, did you really make TSConfig ...
Stating this as an improvement is pretty bold if that is the case. I can understand making it work faster if you do...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
hey @jgw96 ! yw!
so I agree and kinda disagree as well 😄
any
)tsc --init
hasstrict: true
by default so no excuses again 😃writing TS without strict is like writing most of the time without that safety seat belt TS provides for you.
If you don’t want to provide strict, at least let’s come to an agreement by enabling
strictNullChecking
WDYT ?
Hello all! In the latest releases of Stencil we have added functionality to allow Stencil to read your tsconfig so you can turn on settings like strict mode optionally. At this time turning on strict mode by default is not something we want to do as it goes against our goal of making things as simple as possible out of the box. Because of this, I am going to close this issue for now. Thanks for using Stencil!