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

Added exporting types from jss #778

Merged
merged 2 commits into from
Jul 18, 2018
Merged

Added exporting types from jss #778

merged 2 commits into from
Jul 18, 2018

Conversation

HenriBeck
Copy link
Member

Classes,
Jss,
StyleSheet
}
Copy link
Member

Choose a reason for hiding this comment

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

Does it work?

export type {} from './types';

Copy link
Member Author

Choose a reason for hiding this comment

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

Will try it out.

Copy link
Member Author

Choose a reason for hiding this comment

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

Yes, it works. Good catch 👍

JssStyle,
Plugin,
generateClassName,
RuleListOptions,
Copy link
Member

Choose a reason for hiding this comment

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

Is this one needed somewhere?

Copy link
Member Author

Choose a reason for hiding this comment

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

Maybe, I don't know. It might be needed at some time especially because we export RuleList.
Also, I would like to export those now and not have to add exports every time later on.

generateClassName,
RuleListOptions,
Rule,
Renderer,
Copy link
Member

Choose a reason for hiding this comment

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

Is this one needed?

Copy link
Member Author

Choose a reason for hiding this comment

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

That depends on wether or not we allow people to write there own renderers?

@kof kof merged commit d198d9e into master Jul 18, 2018
@HenriBeck HenriBeck deleted the export-types branch July 18, 2018 16:57
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