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

Typescript thinks UNITS is a type-only export #127

Closed
nrabinowitz opened this issue Sep 23, 2021 · 0 comments
Closed

Typescript thinks UNITS is a type-only export #127

nrabinowitz opened this issue Sep 23, 2021 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@nrabinowitz
Copy link
Collaborator

When I try to use h3.UNITS in a Typescript project, I see

'UNITS' only refers to a type, but is being used as a value here.

Probably need to change the way the types are formatted to export a constant.

@nrabinowitz nrabinowitz added the bug Something isn't working label Sep 23, 2021
@nrabinowitz nrabinowitz self-assigned this Sep 23, 2021
nrabinowitz added a commit that referenced this issue Feb 12, 2022
Remove typedef jsdoc for UNITS (fixes #127)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant