Skip to content

Commit 2231cc3

Browse files
author
hazzard993
committed
Change decorator map abbreviation
1 parent 073592d commit 2231cc3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/LuaTransformer.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,9 +360,9 @@ export class LuaTransformer {
360360
let shouldResolve = true;
361361
const moduleOwnerSymbol = this.checker.getSymbolAtLocation(statement.moduleSpecifier);
362362
if (moduleOwnerSymbol) {
363-
const decMap = new Map<DecoratorKind, Decorator>();
364-
tsHelper.collectCustomDecorators(moduleOwnerSymbol, this.checker, decMap);
365-
if (decMap.has(DecoratorKind.NoResolution)) {
363+
const decorators = new Map<DecoratorKind, Decorator>();
364+
tsHelper.collectCustomDecorators(moduleOwnerSymbol, this.checker, decorators);
365+
if (decorators.has(DecoratorKind.NoResolution)) {
366366
shouldResolve = false;
367367
}
368368
}

0 commit comments

Comments
 (0)