UNPKG

deno2node

Version:

`tsc` replacement for transpiling Deno libraries to run on Node.js.

18 lines (17 loc) 523 B
import { type Config } from "./config.js"; import { Project, ts } from "./deps.node.js"; export interface Options { readonly tsConfigFilePath?: string; readonly compilerOptions?: ts.CompilerOptions; readonly skipAddingFilesFromTsConfig?: boolean; } export declare class Context { baseDir: string; config: Config; readonly project: Project; /** * Synchronously loads `tsconfig.json` and `"files"`. */ constructor(options: Options); resolve(...pathSegments: string[]): string; }