9 lines
228 B
TypeScript
9 lines
228 B
TypeScript
enum TopLevelEnum {
|
|
ThisWasAllowedButShouldNotBe = this // Should not be allowed
|
|
}
|
|
|
|
module ModuleEnum {
|
|
enum EnumInModule {
|
|
WasADifferentError = this // this was handled as if this was in a module
|
|
}
|
|
} |