-
Notifications
You must be signed in to change notification settings - Fork 192
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: move unneeded ts types to devDeps #142
Conversation
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.
LGTM
this means we'll have to actually publish a version... :( :)
@@ -50,7 +52,7 @@ export interface LaunchedChrome { | |||
|
|||
export interface ModuleOverrides { | |||
fs?: typeof fs; | |||
rimraf?: typeof rimraf; | |||
rimraf?: RimrafModule; |
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'd we need this?
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.
well if we want our users to not need @types/rimraf
then we can't do import 'rimraf'
in our d.ts
files.
because we export this type here, we need to replace this. it's just one function so it seems pretty easy to type ourselves
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.
oh, lol, just noticed the interface. Oh chrome-launcher
...
"@types/mkdirp": "^0.3.29", | ||
"@types/node": "^9.3.0", | ||
"@types/rimraf": "^0.0.28", | ||
"@types/node": "*", |
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.
🎉 🎉
closes #127