Skip to main content
Module

x/ts_morph/common/ts_morph_common.d.ts>DocumentRegistry#updateDocumentWithKey

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
method DocumentRegistry.prototype.updateDocumentWithKey
import { DocumentRegistry } from "https://deno.land/x/ts_morph@17.0.1/common/ts_morph_common.d.ts";

Parameters

fileName: string
path: ts.Path
compilationSettings: CompilerOptions
key: ts.DocumentRegistryBucketKey
scriptSnapshot: ts.IScriptSnapshot
version: string
scriptKind: ScriptKind | undefined

Returns

ts.SourceFile