Versions in this module Expand all Collapse all v0 v0.0.1 Mar 15, 2025 Changes in this version + const InferredTypesContainingFile + const NodeResolutionFeaturesAll + const NodeResolutionFeaturesBundlerDefault + const NodeResolutionFeaturesExports + const NodeResolutionFeaturesExportsPatternTrailers + const NodeResolutionFeaturesImports + const NodeResolutionFeaturesNode16Default + const NodeResolutionFeaturesNodeNextDefault + const NodeResolutionFeaturesNone + const NodeResolutionFeaturesSelfName + func ComparePatternKeys(a, b string) int + func GetAutomaticTypeDirectiveNames(options *core.CompilerOptions, host ResolutionHost) []string + func MangleScopedPackageName(packageName string) string + func ParseNodeModuleFromPath(resolved string, isFolder bool) string + func ParsePackageName(moduleName string) (packageName, rest string) + func UnmangleScopedPackageName(packageName string) string + type LookupLocations struct + AffectingLocations []string + FailedLookupLocations []string + ResolutionDiagnostics []ast.Diagnostic + type ModeAwareCache map[ModeAwareCacheKey]T + type ModeAwareCacheKey struct + Mode core.ResolutionMode + Name string + type NodeResolutionFeatures int32 + type PackageId struct + Name string + PeerDependencies string + SubModuleName string + Version string + func (p *PackageId) PackageName() string + func (p *PackageId) String() string + type ResolutionHost interface + FS func() vfs.FS + GetCurrentDirectory func() string + Trace func(msg string) + type ResolvedModule struct + AlternateResult string + Extension string + IsExternalLibraryImport bool + OriginalPath string + PackageId PackageId + ResolvedFileName string + ResolvedUsingTsExtension bool + func ResolveConfig(moduleName string, containingFile string, host ResolutionHost) *ResolvedModule + func (r *ResolvedModule) IsResolved() bool + type ResolvedProjectReference struct + CommandLine core.ParsedOptions + References []*ResolvedProjectReference + SourceFile *ast.SourceFile + type ResolvedTypeReferenceDirective struct + IsExternalLibraryImport bool + OriginalPath string + PackageId PackageId + Primary bool + ResolvedFileName string + func (r *ResolvedTypeReferenceDirective) IsResolved() bool + type Resolver struct + func NewResolver(host ResolutionHost, options *core.CompilerOptions) *Resolver + func (r *Resolver) GetLookupLocationsForResolvedModule(resolvedModule *ResolvedModule) *LookupLocations + func (r *Resolver) GetLookupLocationsForResolvedTypeReferenceDirective(resolvedTypeReferenceDirective *ResolvedTypeReferenceDirective) *LookupLocations + func (r *Resolver) GetPackageScopeForPath(directory string) *packagejson.InfoCacheEntry + func (r *Resolver) ResolveModuleName(moduleName string, containingFile string, resolutionMode core.ResolutionMode, ...) *ResolvedModule + func (r *Resolver) ResolveTypeReferenceDirective(typeReferenceDirectiveName string, containingFile string, ...) *ResolvedTypeReferenceDirective