title: Is there a way to represent a non-negative integer in TypeScript so that the compiler would prevent using fractions and negatives?
body: <p>The number is a very loose representation which sometimes is required to be tighten. In my case I wish a variable was only able to take non-negative integers. Is there a way to enforce this constraint in TypeScript?</p>