@servicenow/sdk - v4.4.1
    Preparing search index...

    Interface NonRelativeNameResolutionCache<T>

    interface NonRelativeNameResolutionCache<T> {
        clear(): void;
        getFromNonRelativeNameCache(
            nonRelativeName: string,
            mode: ResolutionMode,
            directoryName: string,
            redirectedReference: ResolvedProjectReference | undefined,
        ): T | undefined;
        getOrCreateCacheForNonRelativeName(
            nonRelativeName: string,
            mode: ResolutionMode,
            redirectedReference?: ResolvedProjectReference,
        ): PerNonRelativeNameCache<T>;
        update(options: tsc.CompilerOptions): void;
    }

    Type Parameters

    • T

    Hierarchy (View Summary)

    Index

    Methods

    • Returns void

    • Parameters

      Returns T | undefined

    • Updates with the current compilerOptions the cache will operate with. This updates the redirects map as well if needed so module resolutions are cached if they can across the projects

      Parameters

      Returns void