-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Add Typescript definitions for 'create-emotion-server' and 'emotion-server' #692
Conversation
bad857d
to
45c8dff
Compare
Please update |
"rules": { | ||
"no-relative-import-in-test": false | ||
} | ||
} |
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.
You miss the final linefeeding for this file
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.
There are many more tslint.json files without this line feed. Do you want me to add them to those as well?
Edit: I went ahead and did it anyway
@@ -20,8 +23,10 @@ | |||
"emotion": "^9.1.3" | |||
}, | |||
"devDependencies": { | |||
"@types/react-dom": "16.0.5", |
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 should depend on @types/react-dom
as dependencies, or, at least as peerDependencies, shouldn't 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.
The only use is inside the tests so I don't think it should.
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.
@mgroenhoff Oh, you're right. My miss.
Thanks! |
What: Typescript definitions added for
create-emotion-server
andemotion-server
Why: Because Typescript!
How:
Checklist: