How to disable automatic casting to enum number?
Write node.js application using TS. Noticed that I can assign a number to a variable of the enumeration type, although it should require an explicit cast. What compiler option is responsible for this?
asked June 7th 19 at 14:58
Find more questions by tags TypeScript