()
| 94091 | } |
| 94092 | } |
| 94093 | function enableSubstitutionForNamespaceExports() { |
| 94094 | if ((enabledSubstitutions & 2 /* TypeScriptSubstitutionFlags.NamespaceExports */) === 0) { |
| 94095 | enabledSubstitutions |= 2 /* TypeScriptSubstitutionFlags.NamespaceExports */; |
| 94096 | // We need to enable substitutions for identifiers and shorthand property assignments. This allows us to |
| 94097 | // substitute the names of exported members of a namespace. |
| 94098 | context.enableSubstitution(79 /* SyntaxKind.Identifier */); |
| 94099 | context.enableSubstitution(297 /* SyntaxKind.ShorthandPropertyAssignment */); |
| 94100 | // We need to be notified when entering and exiting namespaces. |
| 94101 | context.enableEmitNotification(261 /* SyntaxKind.ModuleDeclaration */); |
| 94102 | } |
| 94103 | } |
| 94104 | function isTransformedModuleDeclaration(node) { |
| 94105 | return ts.getOriginalNode(node).kind === 261 /* SyntaxKind.ModuleDeclaration */; |
| 94106 | } |
no outgoing calls
no test coverage detected
searching dependent graphs…