Skip to content
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

Merged
merged 3 commits into from
Apr 25, 2019

Conversation

patrickhulce
Copy link
Collaborator

@patrickhulce patrickhulce commented Apr 24, 2019

closes #127

Copy link
Member

@brendankenny brendankenny left a 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;
Copy link
Member

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?

Copy link
Collaborator Author

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

Copy link
Member

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": "*",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎉 🎉

@brendankenny brendankenny merged commit d2f6037 into GoogleChrome:master Apr 25, 2019
paulirish added a commit that referenced this pull request May 1, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

move @types/* packages to devDependencies
2 participants