(file *SourceFile)
| 1643 | } |
| 1644 | |
| 1645 | func IsExternalOrCommonJSModule(file *SourceFile) bool { |
| 1646 | return file.ExternalModuleIndicator != nil || file.CommonJSModuleIndicator != nil |
| 1647 | } |
| 1648 | |
| 1649 | // TODO: Should we deprecate `IsExternalOrCommonJSModule` in favor of this function? |
| 1650 | func IsEffectiveExternalModule(node *SourceFile, compilerOptions *core.CompilerOptions) bool { |
no outgoing calls
no test coverage detected