UNPKG

@swc-node/register

Version:
11 lines (10 loc) • 429 B
import type { Options } from '@swc-node/core'; import * as ts from 'typescript'; export declare function getSourceMapMode(): { inline: boolean; store: boolean; }; export declare function readDefaultTsConfig(tsConfigPath?: string): Partial<ts.CompilerOptions & { fallbackToTs: (path: string) => boolean; }>; export declare function tsCompilerOptionsToSwcConfig(options: ts.CompilerOptions, filename: string): Options;