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

Incorrect return type for $_$twiz.get() #52

Closed urish closed 6 years ago

urish commented 6 years ago

It type annotation suggests that it returns an array of [string, number, string[], any], which is no longer the case since #27. This causes the returned type to be incompatible with what applyTypes() expects.