How to use the isExternalModule function from typescript
Find comprehensive JavaScript typescript.isExternalModule code examples handpicked from public code repositorys.
30 31 32 33 34 35 36 37 38 39var BlockScopeAwareRuleWalker = /** @class */ (function (_super) { tslib_1.__extends(BlockScopeAwareRuleWalker, _super); function BlockScopeAwareRuleWalker(sourceFile, options) { var _this = _super.call(this, sourceFile, options) || this; // initialize with global scope if file is not a module _this.blockScopeStack = ts.isExternalModule(sourceFile) ? [] : [_this.createBlockScope(sourceFile)]; return _this; }
typescript.SyntaxKind is the most popular function in typescript (82777 examples)