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

snapshot overview

Added in v1.0.0


Table of contents


utils

VersionedSnapshot (class)

Signature

export declare class VersionedSnapshot {
  constructor(fileName: string, snapshot?: ts.IScriptSnapshot)
}

Added in v1.0.0

getVersion (method)

Signature

getVersion(): string

Added in v1.0.0

getSnapshot (method)

Signature

getSnapshot(): ts.IScriptSnapshot

Added in v1.0.0

update (method)

Signature

update(snapshot?: ts.IScriptSnapshot): void

Added in v1.0.0

fileName (property)

Signature

fileName: string

Added in v1.0.0