Improve typescript doc ( add info about ["strict":true] and ["noImplicitThis": true] ) #1573
Closed
wildwind123
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
Sure, can you open a pr? It should go in the typescript section or in getting started |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i think it will be helpful, if it will be on doc. I had problem with types

this.[property]
- undefinedAnd i solve this.
types work if on tsconfig enabled option
"strict":true
(this option enabled seven option (noImplicitAny noImplicitThis alwaysStrict strictBindCallApply strictNullChecks strictFunctionTypes strictPropertyInitialization
)).this option very bad if you migrating from js to ts etc, if this large project. And refactoring required long time.
or you can add only one option
"noImplicitThis": true
I think it will be helpful for newbie user or who don't use option
"strict": true
fully.Beta Was this translation helpful? Give feedback.
All reactions