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

Fields in `IInstrumentOptions` should be optional #43

Closed urish closed 6 years ago

urish commented 6 years ago

Currently, if you specify options for instrument, they are all required. e.g. the following will result in a type error:

instrument(source, fileName, { instrumentImplicitThis: true } );