Open kevinszuchet opened 5 years ago
Related https://github.com/microsoft/TypeScript/issues/31314
From what I know, this would be difficult to implement because typescript has no notion of a function call modifying the type of a passed argument by mutating the argument.
For these simple cases you can use parameter properties
Thanks for answer!
I know, but the fact is that I don't want to change all my constructors for avoid the checkJs errors on VS Code @IllusionMH
Search Terms
js, lodash, properties
Suggestion
Recognize properties of some object when using lodash assign method
Use Cases
Any initalization of an object using:
Examples
Checklist
My suggestion meets these guidelines: