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: fixes type error when building with isolate modules #647

Closed
wants to merge 1 commit into from

Conversation

itsdouges
Copy link

Description of changes:

This fixes a TypeScript error when building with isolate modules:

$ NODE_OPTIONS=--max-old-space-size=8192 tsc --project ./tsconfig.typecheck.json
node_modules/style-dictionary/types/_helpers.ts(16,10): error TS1205: Re-exporting a type when the '--isolatedModules' flag is provided requires using 'export type'.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@itsdouges
Copy link
Author

Ah this is covered here #644

Closing this! (Please merge the other 😄)

@itsdouges itsdouges closed this Jun 2, 2021
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.

2 participants