-
Notifications
You must be signed in to change notification settings - Fork 62
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
fix: fix typescript #995
fix: fix typescript #995
Conversation
6157cd6
to
57d0b18
Compare
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.
@@ -0,0 +1,3 @@ | |||
declare module "clear-require" { |
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 this used in order to avoid including @types/clear-require
to production?
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.
No. There is no types package as I remember.
package.json
Outdated
"@jspm/core": "2.0.1", | ||
"@types/mocha": "10.0.1", | ||
"@types/bluebird": "3.5.38", |
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.
It's not a mistake, is it, we really do need those in production deps?
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.
We do, but can be fixed by rewriting a few more files
41520fb
to
a874c27
Compare
Tested on a large project: https://nda.ya.ru/t/NGp9aTXW77yDqN |
No description provided.