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

Function ResolveConfig

internal/module/resolver.go:2077–2080  ·  view source on GitHub ↗
(moduleName string, containingFile string, host ResolutionHost)

Source from the content-addressed store, hash-verified

2075}
2076
2077func ResolveConfig(moduleName string, containingFile string, host ResolutionHost) *ResolvedModule {
2078 resolver := NewResolver(host, &core.CompilerOptions{ModuleResolution: core.ModuleResolutionKindNodeNext}, "", "")
2079 return resolver.resolveConfig(moduleName, containingFile)
2080}
2081
2082func GetAutomaticTypeDirectiveNames(options *core.CompilerOptions, host ResolutionHost) []string {
2083 if !options.UsesWildcardTypes() {

Callers 1

getExtendsConfigPathFunction · 0.92

Calls 2

resolveConfigMethod · 0.95
NewResolverFunction · 0.85

Tested by

no test coverage detected