195570/typescript-create-type-that-denotes-the-set-of-even-numbers
Can anyone know how to create this kind of type? if 'evenNumbers" is the name of the type, i want for example that:
let a:evenNumbers = 3
will return error and
let a:evenNumbers = 4
will not.
OR
At least 1 upper-case and 1 lower-case letter
Minimum 8 characters and Maximum 50 characters
Already have an account? Sign in.