Skip to main content
Module

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

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

Parameters

fileName: string
compilationSettings: CompilerOptions
scriptSnapshot: ts.IScriptSnapshot
version: string
scriptKind: ScriptKind | undefined

Returns

ts.SourceFile