3 ms·
You won't regret it ! It helps me every day. Just be sure to not be too strict in your tsconfig.json in the beginning. edit: I'm refering to "noImplicit*" conf
by simlevesque 7y ago
You won't regret it ! It helps me every day. Just be sure to not be too strict in your tsconfig.json in the beginning.
edit: I'm refering to "noImplicit*" configuration.
- AgentME 7y ago>Just be sure to not be too strict in your tsconfig.json in the beginning. Do you mean to avoid using the "strict" rule, or are you referring to other rules? My number one Typescript suggestion is to make sure you start with "strict": true in your tsconfig.json to be sure your code has nullability correctly enforced.
- simlevesque 7y agoI'm talking about "noImplicitAny", "noImplicitReturns", "noImplicitThis"... they get in my way when I'm editing. When I'm about to push my code I activate them back.
- charrondev 7y agoPersonally I just don’t block the result of my hot dev server on the type checking. I follow along with types in my IDE, and in a separate command. Basically Babel for transpilation (which strips all types, correct or not), and type checking in a separate process.