We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 073592d commit 2231cc3Copy full SHA for 2231cc3
src/LuaTransformer.ts
@@ -360,9 +360,9 @@ export class LuaTransformer {
360
let shouldResolve = true;
361
const moduleOwnerSymbol = this.checker.getSymbolAtLocation(statement.moduleSpecifier);
362
if (moduleOwnerSymbol) {
363
- const decMap = new Map<DecoratorKind, Decorator>();
364
- tsHelper.collectCustomDecorators(moduleOwnerSymbol, this.checker, decMap);
365
- if (decMap.has(DecoratorKind.NoResolution)) {
+ const decorators = new Map<DecoratorKind, Decorator>();
+ tsHelper.collectCustomDecorators(moduleOwnerSymbol, this.checker, decorators);
+ if (decorators.has(DecoratorKind.NoResolution)) {
366
shouldResolve = false;
367
}
368
0 commit comments