Answers for "typescript type specific numbers"

0

typescript type specific numbers

type MyRange = 5|6|7|8|9|10

let myVar:MyRange = 4; // oops, error :)
Posted by: Guest on August-17-2021

Code answers related to "TypeScript"

Browse Popular Code Answers by Language