This repository has been archived by the owner on Mar 25, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 889
BigInt support #4293
Labels
Comments
Hi @joshuajbouw - what exactly is your issue? You haven't posted any rule names or error message. Is a TSLint rule flagging something as an error that shouldn't be? |
Yeah, with BigInt, tslint doesn't know exactly what to do with them. So, it flags everything BigInt related. Everything does compile as-is correctly and it does run as intended. |
What error messages are you seeing? |
I had updated the issue above with pictures showing the error messages. |
Gotcha, the screenshots edited into your OP help. Thanks! Your issue isn't with TSLint; it's with TypeScript. Out of the three:
If you have any other issues, you'll want to file them on the TypeScript repository. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Rule Suggestion
Is your rule for a general problem or is it specific to your development style?
It is a general problem for those that are using BigInt that is apart of official repos now.
What does your suggested rule do?
Ignores BigInt and "n" at the end of integers flagging that they are BigInt.
Here are some examples above.
List several examples where your rule could be used
Additional context
Now that TC-39 is out in V8, Node.js as well as JS, it would make sense to start supporting BigInt as it is officially accepted.
If there are any temporary solutions, I will be grateful.
The text was updated successfully, but these errors were encountered: