Skip to content

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.

1 participant