First of all, I'm really excited to learn of the existence of this project so thanks for that 馃憣
I'm trying to use it on the .d.ts files I've written for bugsnag-js which will be distributed with the project. In the past we've struggled with .d.ts files not being up to date with the JS code in the library, so what I really want is a program that verifies the correctness of the types that I can run as part of the tests.
When I try to execute tscheck against my library/types, I get the following error:
Error while executing library code
InvalidCharacterError: DOM Exception 5: An invalid or illegal character was specified, such as in an XML name.
phantomjs://code/jsnap1171022-20209-1k8owbv.q8yk:2800 in enqueue
phantomjs://code/jsnap1171022-20209-1k8owbv.q8yk:2800 in convertValue
phantomjs://code/jsnap1171022-20209-1k8owbv.q8yk:2768 in dump
phantomjs://code/jsnap1171022-20209-1k8owbv.q8yk:2823
Steps to reproduce
npm i -g tscheck
git clone git@github.com:bugsnag/bugsnag-js.git
cd bugsnag-js
git checkout 408ca0100f80aad2708a01de6df1d457502e50c8
npm run build
tscheck dist/bugsnag.js types/bugsnag.d.ts
| software |
version |
| tscheck |
0.1.4 |
| npm |
5.4.2 |
| node |
8.3.0 |
| typescript |
2.6.1 |
First of all, I'm really excited to learn of the existence of this project so thanks for that 馃憣
I'm trying to use it on the .d.ts files I've written for bugsnag-js which will be distributed with the project. In the past we've struggled with .d.ts files not being up to date with the JS code in the library, so what I really want is a program that verifies the correctness of the types that I can run as part of the tests.
When I try to execute tscheck against my library/types, I get the following error:
Steps to reproduce