Skip to content

Classes as object props types #56

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

Merged
merged 1 commit into from
Mar 3, 2019
Merged

Conversation

nanot1m
Copy link

@nanot1m nanot1m commented Nov 19, 2018

converts

.myClass {
  ...
}

to

declare const styles: {
  readonly "myClass": string;
};
export = styles;

There is no need in validating keys

@nanot1m nanot1m force-pushed the object-prop-classes branch from 2305462 to 74de6ef Compare November 19, 2018 16:33
@wKich
Copy link
Contributor

wKich commented Nov 20, 2018

Fix #27 and #33

@Quramy Quramy merged commit da5aaf4 into Quramy:master Mar 3, 2019
@Quramy
Copy link
Owner

Quramy commented Mar 3, 2019

@nanot1m Thanks for your great contribution and sorry for my late review and reply

I've published your change as v0.4.1, pls check it out 😄

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.

3 participants