Closed granteagon closed 6 years ago
example:
> const enum foo = { Bar } .. .. You typed two blank lines! start new command > undefined > foo Cannot find name 'foo'. > enum foo = { Bar } .. .. You typed two blank lines! start new command > foo Cannot find name 'foo'.
enums syntax is
const enum foo { Bar } foo.Bar
example: