Versions in this module Expand all Collapse all v0 v0.0.2 Apr 25, 2026 v0.0.1 Apr 11, 2026 Changes in this version + func DiscoverTypings(fs vfs.FS, logger logging.Logger, typingsInfo *TypingsInfo, fileNames []string, ...) (cachedTypingPaths []string, newTypingNames []string, filesToWatch []string) + type CachedTyping struct + TypingsLocation string + Version *semver.Version + type NameValidationResult int + const EmptyName + const NameContainsNonURISafeCharacters + const NameOk + const NameStartsWithDot + const NameStartsWithUnderscore + const NameTooLong + func ValidatePackageName(packageName string) (result NameValidationResult, name string, isScopeName bool) + type NpmExecutor interface + NpmInstall func(cwd string, args []string) ([]byte, error) + type TypingsInfo struct + CompilerOptions *core.CompilerOptions + TypeAcquisition *core.TypeAcquisition + UnresolvedImports *collections.Set[string] + func (ti TypingsInfo) Equals(other TypingsInfo) bool + type TypingsInstallRequest struct + CompilerOptions *core.CompilerOptions + CurrentDirectory string + FS vfs.FS + FileNames []string + GetScriptKind func(string) core.ScriptKind + Logger logging.Logger + ProjectID tspath.Path + ProjectRootPath string + TypingsInfo *TypingsInfo + type TypingsInstallResult struct + FilesToWatch []string + TypingsFiles []string + type TypingsInstaller struct + func NewTypingsInstaller(options *TypingsInstallerOptions, host TypingsInstallerHost) *TypingsInstaller + func (ti *TypingsInstaller) InstallTypings(request *TypingsInstallRequest) (*TypingsInstallResult, error) + func (ti *TypingsInstaller) IsKnownTypesPackageName(projectID tspath.Path, name string, fs vfs.FS, logger logging.Logger) bool + type TypingsInstallerHost interface + type TypingsInstallerOptions struct + ThrottleLimit int + TypingsLocation string