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

Function IsExternalModuleAugmentation

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

Source from the content-addressed store, hash-verified

3546}
3547
3548func IsExternalModuleAugmentation(node *Node) bool {
3549 return IsAmbientModule(node) && IsModuleAugmentationExternal(node)
3550}
3551
3552func GetSourceFileOfModule(module *Symbol) *SourceFile {
3553 declaration := module.ValueDeclaration

Calls 2

IsAmbientModuleFunction · 0.85

Tested by

no test coverage detected