Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno2node/src/deps.deno.ts>SourceFileCreateOptions

Compile your Deno project to run on Node.js.
Go to Latest
interface SourceFileCreateOptions
import { type SourceFileCreateOptions } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.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.