In some cases, you have a field that you initialize in a method, and if you follow the flow of the code you are sure that this field is initialized but typescript doesn't understand it. An example type Person = { name: string; }; let person: Perso...

Markdown supported · ⌘↵ to post
No responses yet.