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

Added int/uint types #681

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

LimitR
Copy link

@LimitR LimitR commented Dec 16, 2022

Added int/uint type
Before submitting a pull request, please make sure the following is done:

  • Fork the repository and create your branch from master. (small change, ran it though)
  • Run npm install in the repository root.
  • If you've fixed a bug or added code that should be tested, add tests!
  • Ensure the test suite passes (npm test).

Note. If you find a typo in the documentation, make sure to modify the corresponding source (docs are generated).

@LimitR
Copy link
Author

LimitR commented Apr 23, 2023

Created a constructor for int/uint types

const myTypeNumber = int(4);
const myNumber: myTypeNumber = 7;
// But
const myNumber: myTypeNumber = 8; // Error validation

@LimitR LimitR closed this Jul 13, 2023
@LimitR LimitR reopened this Mar 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant