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

Use "object" type instead of "Object" #8

Closed urish closed 6 years ago

urish commented 6 years ago

i.e. the following code:

function f(x) {}
f({});

should transform into:

function f(x: object) {}
f({});

Object is rejected by tslint ban-types rule with the recommended config