Skip to content

Commit 4fbf086

Browse files
authored
Removing "or" assignment from exports, class and namespace declarations (#512)
* exports, classes and modules no longer use X = X or {} * fixed translation tests * changed 'exports' to '____exports' * caching classes in local when exported
1 parent 683e43a commit 4fbf086

File tree

4 files changed

+184
-178
lines changed

4 files changed

+184
-178
lines changed

src/Decorator.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ export class Decorator {
2121
return DecoratorKind.Phantom;
2222
case "tuplereturn":
2323
return DecoratorKind.TupleReturn;
24-
case "noclassor":
25-
return DecoratorKind.NoClassOr;
2624
case "luaiterator":
2725
return DecoratorKind.LuaIterator;
2826
case "noself":
@@ -52,7 +50,6 @@ export enum DecoratorKind {
5250
PureAbstract = "PureAbstract",
5351
Phantom = "Phantom",
5452
TupleReturn = "TupleReturn",
55-
NoClassOr = "NoClassOr",
5653
LuaIterator = "LuaIterator",
5754
NoSelf = "NoSelf",
5855
NoSelfInFile = "NoSelfInFile",

0 commit comments

Comments
 (0)