Skip to main content
Module

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

Compile your Deno project to run on Node.js.
Go to Latest
class Program
import { Program } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Wrapper around Program.

Constructors

new
private
Program()

Properties

readonly
compilerObject: ts.Program

Gets the underlying compiler program.

Methods

emit(options?: ProgramEmitOptions): Promise<EmitResult>

Asynchronously emits the TypeScript files as JavaScript files.

Synchronously emits the TypeScript files as JavaScript files.

Emits the TypeScript files to JavaScript files to memory.

Gets the diagnostics found when parsing the tsconfig.json file.

Gets the declaration diagnostics.

Gets the emit module resolution kind.

Gets the global diagnostics.

Gets the semantic diagnostics.

Gets the syntactic diagnostics.

Get the program's type checker.

Gets if the provided source file was discovered while loading an external library.