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

Make parameter typings for StyleSheet.create more typed #375

Merged
merged 2 commits into from
Aug 28, 2019
Merged

Make parameter typings for StyleSheet.create more typed #375

merged 2 commits into from
Aug 28, 2019

Conversation

BenjaVR
Copy link
Contributor

@BenjaVR BenjaVR commented Apr 22, 2019

This is a small change in the typings, to make the StyleSheet.create(...) parameters more typed, and offer better intellisense/autocompletion.

before:

screencast_before

after:

screencast_after


The only thing I couldn't figure out is how to get the intellisense for pseudo selectors inside a mediaquery. Although you can use it without any errors, it's just the intellisense that is not complete. Anyone any ideas?

@khanbot
Copy link

khanbot commented Apr 22, 2019

Hey @BenjaVR,

Thanks for the PR! Mind signing our Contributor License Agreement?

When you've done so, go ahead and comment [clabot:check] and I'll check again.

Yours truly,
khanbot

@BenjaVR
Copy link
Contributor Author

BenjaVR commented Apr 22, 2019

[clabot:check]

@khanbot
Copy link

khanbot commented Apr 22, 2019

CLA signature looks good 👍

@lencioni lencioni merged commit dc4269a into Khan:master Aug 28, 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.

None yet

3 participants