Module

x/ts_morph/mod.ts>SourceFileCreateOptions

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
interface SourceFileCreateOptions
import { type SourceFileCreateOptions } from "https://dotland.deno.dev/x/ts_morph@17.0.0/mod.ts";

Options for creating a source file.

Properties

optional
overwrite: boolean

Whether a source file should be overwritten if it exists. Defaults to false.

optional
scriptKind: ScriptKind

Specifies the script kind of the source file.