testtest/node_modules/ts-node/dist/transpilers/swc.d.ts
AlexVeeBee 30ce160b8f
Some checks failed
node-js / Test (14.x) (push) Failing after 18s
Did something
2024-02-27 00:32:49 +00:00

12 lines
470 B
TypeScript

import type * as swcWasm from '@swc/wasm';
import type { CreateTranspilerOptions, Transpiler } from './types';
export interface SwcTranspilerOptions extends CreateTranspilerOptions {
/**
* swc compiler to use for compilation
* Set to '@swc/wasm' to use swc's WASM compiler
* Default: '@swc/core', falling back to '@swc/wasm'
*/
swc?: string | typeof swcWasm;
}
export declare function create(createOptions: SwcTranspilerOptions): Transpiler;