fuzzitdev / jsfuzz

coverage guided fuzz testing for javascript
https://gitlab.com/gitlab-org/security-products/analyzers/fuzzers/jsfuzz
Apache License 2.0
605 stars 48 forks source link

Give typings to global.__coverage__ to avoid @ts-ignore #18

Closed rhysd closed 4 years ago

rhysd commented 4 years ago

Hi,

I added proper types to global.__coverage__ global variable so that several @ts-ignore comments could be removed. Now the coverage data object is typed and checked by TypeScript compiler.

yevgenypats commented 4 years ago

@rhysd Thank you! it looks good. I'll test it soon and merge:)