-
Notifications
You must be signed in to change notification settings - Fork 13k
Description
Hello Ben Coe here π, I maintain the nyc and istanbuljs test coverage tools.
A good chunk of the bug reports opened on these repos relate to TypeScript parsing:
https://github.com/istanbuljs/nyc/issues?q=is%3Aissue+is%3Aopen+label%3ATypeScript
Given that:
- TypeScript is wildly popular, and continues to become more popular.
- folks want to collect coverage information as part of the testing cycle for their TypeScript projects.
I would love to work with you to add better TypeScript support to Istanbul.
Istanbul uses babel behind the scenes for instrumentation, I think that babel-preset-typescript could potentially be a good starting point for pulling this off -- perhaps we could simply swap out the underlying JavaScript parser for a TypeScript parser based on a flag?
Is there anyone on your end who might be interested in this joint project with the Istanbul folks?
flagging a couple folks on the Babel project too, in case they're at all interested in giving their two cents:
CC: @hzoo, @loganfsmyth.