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: Fix type file generation to export types instead of declarations #120

Merged
merged 6 commits into from
Jul 3, 2024

Conversation

RayRedGoose
Copy link
Contributor

Issue

Fixes #119

Summary

PR contains a fix for type issue for users don't use --skipLibCheck.

Release Category

Web Tokens

Release Note

Type generation has been updated to fix a type issue happening for user who doesn't use --skipLibCheck. Now generated type files contains types (export declare const cinnamon100: "--cnvs-base-palette-cinnamon-100";) instead of value declarations (export declare const cinnamon100 = "--cnvs-base-palette-cinnamon-100" as const;).


@RayRedGoose RayRedGoose self-assigned this Jul 3, 2024
@RayRedGoose RayRedGoose added the automerge Automatically merge pull request label Jul 3, 2024
@RayRedGoose RayRedGoose merged commit 904744e into Workday:main Jul 3, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge Automatically merge pull request
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

Fix type files geneartion to export only types
2 participants