mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[Telemetry Tools] Add support for ExportSpecifier in constrains (#171111)
This commit is contained in:
parent
44341ac01c
commit
259a8fc0ab
1 changed files with 1 additions and 1 deletions
|
@ -102,7 +102,7 @@ export function getConstraints(node: ts.Node, program: ts.Program): any {
|
|||
return node.text;
|
||||
}
|
||||
|
||||
if (ts.isImportSpecifier(node)) {
|
||||
if (ts.isImportSpecifier(node) || ts.isExportSpecifier(node)) {
|
||||
const source = node.getSourceFile();
|
||||
const importedModuleName = getModuleSpecifier(node);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue