-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update typescript types #57
Conversation
|
||
export = NodeFileTrace; |
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.
Why was this changed to default
?
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.
I've used export =
before, then linked it and typescript complained when I've tried to build a package
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.
I believe esModuleInterop
should take care of it (I think it supports both syntax options to export). But if it was failing in @now/next
, then we can change it.
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.
yup, it failed in @now/next
Codecov Report
@@ Coverage Diff @@
## master #57 +/- ##
=======================================
Coverage 90.01% 90.01%
=======================================
Files 10 10
Lines 991 991
=======================================
Hits 892 892
Misses 99 99 Continue to review full report at Codecov.
|
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.
Thanks!
@AndyBitz Looks good! Feel free to |
Updates the types for typescript.
Is required for vercel/vercel#2926