Skip to main content Link Search Menu Expand Document (external link)

cache overview

Added in v1.0.0


Table of contents


utils

ExternalFileCache (class)

Signature

export declare class ExternalFileCache

Added in v1.0.0

getSnapshot (method)

Signature

getSnapshot(fileName: string): ts.IScriptSnapshot

Added in v1.0.0

ProjectFileCache (class)

Signature

export declare class ProjectFileCache {
  constructor(fileNames: Array<string>)
}

Added in v1.0.0

has (method)

Signature

has(fileName: string): boolean

Added in v1.0.0

set (method)

Signature

set(fileName: string, snapshot?: ts.IScriptSnapshot): void

Added in v1.0.0

remove (method)

Signature

remove(fileName: string): void

Added in v1.0.0

removeAll (method)

Signature

removeAll(): void

Added in v1.0.0

getFileNames (method)

Signature

getFileNames(): Array<string>

Added in v1.0.0

getVersion (method)

Signature

getVersion(fileName: string): string | undefined

Added in v1.0.0

getSnapshot (method)

Signature

getSnapshot(fileName: string): ts.IScriptSnapshot | undefined

Added in v1.0.0