mirror of
https://github.com/microsoft/TypeScript.git
synced 2025-11-18 17:21:48 +00:00
@@ -2731,7 +2731,7 @@ namespace ts {
|
||||
let blockLocation: TextRange;
|
||||
const body = node.body;
|
||||
if (body.kind === SyntaxKind.ModuleBlock) {
|
||||
addRange(statements, visitNodes((<ModuleBlock>body).statements, namespaceElementVisitor, isStatement));
|
||||
saveStateAndInvoke(body, body => addRange(statements, visitNodes((<ModuleBlock>body).statements, namespaceElementVisitor, isStatement)));
|
||||
statementsLocation = (<ModuleBlock>body).statements;
|
||||
blockLocation = body;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,7 @@ var MyModule;
|
||||
}());
|
||||
__decorate([
|
||||
inject,
|
||||
__metadata("design:type", Object)
|
||||
__metadata("design:type", Leg)
|
||||
], Person.prototype, "leftLeg", void 0);
|
||||
MyModule.Person = Person;
|
||||
})(MyModule || (MyModule = {}));
|
||||
|
||||
Reference in New Issue
Block a user