-
Notifications
You must be signed in to change notification settings - Fork 402
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
The latest version writes types that contain non standard numbers #2213
Comments
CC @j-f1 |
I did a quick look in the repository and found the |
Yep, JS/TS only has number types, cc @systemcrash |
OK - I'm fine with 'number' types only - if that fixes problems. Those are generated from the docs, during the Write 'number' in the preamble --- blah --- and then write what they actually are further in the doc? |
I just tried the v3.29.0 preview in my other issue and discovered that when I write the updated types they now contain native number types that do not exist in standard TypeScript, like
float32
andint
.This means that TypeScript can't validate the types properly and I get warnings such as these when I try:
The only number type that should be used is
number
.The text was updated successfully, but these errors were encountered: