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

Stylable CLI generates incorrect dts for complex stVars #2250

Closed
tzachbon opened this issue Jan 6, 2022 · 0 comments · Fixed by #2256
Closed

Stylable CLI generates incorrect dts for complex stVars #2250

tzachbon opened this issue Jan 6, 2022 · 0 comments · Fixed by #2256
Labels
bug Unexpected behavior or exception tooling CLI, stylable-scripts boilerplate

Comments

@tzachbon
Copy link
Contributor

tzachbon commented Jan 6, 2022

Actual Behavior

When generating dts for a stylesheet the stVars values will always be strings also if the object is more complex and have many levels.

Expected Behavior

Will be the correct type according to the stVars definition.

Version

4.10.0 (latest)

Relevant log output

No response

Additional Context

Example for complex case (only the stVar definition)

Blockers

Fix the Stylable Exports types

@tzachbon tzachbon added bug Unexpected behavior or exception triage Awaiting issue processing tooling CLI, stylable-scripts boilerplate and removed triage Awaiting issue processing labels Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Unexpected behavior or exception tooling CLI, stylable-scripts boilerplate
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant