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

Cache getTypeCollectorSnippet call. #23

Closed MadaraUchiha closed 6 years ago

MadaraUchiha commented 6 years ago

getTypeCollectorSnippet is expensive, it makes me sad 😢

Let's cache it!

coveralls commented 6 years ago

Coverage Status

Coverage remained the same at 83.333% when pulling 3ec3388a528da70cb6fa28a33983c42b9e1fd157 on MadaraUchiha:improvement/cache-snippet-call into 4f450afcd7cae8c3ed31a77e0b282927c1f8c84f on urish:master.

urish commented 6 years ago

Good idea, thanks!

urish commented 6 years ago

Released as typewiz-webpack@0.3.3