Skip to main content
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://deno.land/x/ts_morph@15.1.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.