Skip to main content
Module

x/ts_morph/ts_morph.js>CompilerOptionsContainer

TypeScript Compiler API wrapper for static analysis and programmatic code changes.
Very Popular
Go to Latest
class CompilerOptionsContainer
extends SettingsContainer<ts.CompilerOptions>
Re-export
import { CompilerOptionsContainer } from "https://deno.land/x/ts_morph@15.1.0/ts_morph.js";

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.