True if this is visible outside this file, false otherwise
(node: ts.Node)
| 379 | |
| 380 | /** True if this is visible outside this file, false otherwise */ |
| 381 | function isNodeExported(node: ts.Node): boolean { |
| 382 | return ( |
| 383 | (ts.getCombinedModifierFlags(node as ts.Declaration) & ts.ModifierFlags.Export) !== 0 || |
| 384 | (!!node.parent && node.parent.kind === ts.SyntaxKind.SourceFile) |
| 385 | ); |
| 386 | } |
| 387 | |
| 388 | function getTsCompilerOptionsJson(): any { |
| 389 | const tsconfigPath = path.join(EXTENSION_ROOT_DIR_FOR_TESTS, 'tsconfig.json'); |