5,321
edits
(→Usage) |
(→Enums) |
||
Line 93: | Line 93: | ||
}); | }); | ||
</syntaxhighlight> | </syntaxhighlight> | ||
; Notes | |||
* This does not enforce any kind of type. If you need that, use [https://www.typescriptlang.org/docs/handbook/enums.html typescript enums]. | |||
==Browser Usage== | ==Browser Usage== |