Skip to main content
Module

x/ts_morph/common/mod.ts>DocumentRegistry#acquireDocumentWithKey

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

Parameters

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

Returns

ts.SourceFile