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

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

Compile your Deno project to run on Node.js.
Go to Latest
class CompilerOptionsContainer
extends SettingsContainer<ts.CompilerOptions>
import { CompilerOptionsContainer } from "https://deno.land/x/deno2node@v1.10.0/src/deps.deno.ts";

Holds the compiler options.

Constructors

new
CompilerOptionsContainer()

Methods

getEncoding(): string

Gets the encoding from the compiler options or returns utf-8.

set(settings: Partial<ts.CompilerOptions>): void

Sets one or all of the compiler options.

WARNING: Setting the compiler options will cause a complete reparse of all the source files.