mockdeep / typewiz

Automatically discover and add missing types in your TypeScript code
https://medium.com/@urish/manual-typing-is-no-fun-introducing-typewiz-58e3e8813f4c
1.1k stars 46 forks source link

Find types for class fields #7

Closed urish closed 6 years ago

urish commented 6 years ago

e.g.

class Foo {
    someValue;
}
new Foo().someValue = 5;

should transform into

class Foo {
    someValue: number;
}
new Foo().someValue = 5;