-
Notifications
You must be signed in to change notification settings - Fork 231
Conversation
In order to catch error #857 we need to do a production type build for verification :-)
Codecov Report
@@ Coverage Diff @@
## rc0.14.0 #900 +/- ##
============================================
- Coverage 94.09% 94.08% -0.02%
============================================
Files 86 86
Lines 3644 3636 -8
Branches 574 573 -1
============================================
- Hits 3429 3421 -8
Misses 90 90
Partials 125 125
Continue to review full report at Codecov.
|
My first idea (loading the .d.ts files to check for errors) doesn't seem to work. |
That worked! Ready again @moog16 |
Test failures are from screenshots build and seem unrelated |
Can you updated with rc0.14.0. that will most likely fix your screenshot tests. |
It's alive! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is it possible to get this test/types/index.ts:20:1
to reference the actual source file that is the cause of the error?
Also I'm inclined to accept this, but merged into a feature branch, as I don't want to merge this until the errors are fixed.
I'm not sure what you mean @moog16. I have added no new errors.
|
Yes, I understand index.ts is generated, however each error corresponds to somewhere in source. I was wondering if we could print where the actual error is coming from. |
@moog16 The comment above (as copied from Travis-CI) lists all found errors by source line in the imported type files. Is there something else you were looking for? The generated |
Are you asking for a trace to the source file (as opposed to compiled type file) @moog16? I'm not sure that makes sense (effort wise) as the issues we're concerned with are in the compiled types only (in some cases just because of the specific versions of external packages compiled against). If there's an easy way to trace the source of a line in a .d.ts file I'm not aware of I would be open to using it. Otherwise, I'll just be searching for the function names mentioned to track down errors. |
@arichiv - I've been thinking about what to do with your work. Here are my thoughts:
I think if you agree with all of these changes, I'm good on accepting them :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
Error #857 occurs in production builds against the generated type file.
In order to catch it a new Travis CI job was added which: