MCPcopy Create free account
hub / github.com/microsoft/typescript-go / IsModuleExportsQualifiedName

Function IsModuleExportsQualifiedName

internal/ast/utilities.go:2859–2861  ·  view source on GitHub ↗
(node *Node)

Source from the content-addressed store, hash-verified

2857}
2858
2859func IsModuleExportsQualifiedName(node *Node) bool {
2860 return IsQualifiedName(node) && IsModuleIdentifier(node.AsQualifiedName().Left) && node.AsQualifiedName().Right.Text() == "exports"
2861}
2862
2863func IsCheckJSEnabledForFile(sourceFile *SourceFile, compilerOptions *core.CompilerOptions) bool {
2864 if sourceFile.CheckJsDirective != nil {

Callers

nothing calls this directly

Calls 4

IsQualifiedNameFunction · 0.85
IsModuleIdentifierFunction · 0.85
AsQualifiedNameMethod · 0.80
TextMethod · 0.65

Tested by

no test coverage detected