You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

10 lines
415 B
TypeScript

/// <reference types="node" />
import { TransformOptions, JITIOptions } from "./types";
type Require = typeof require;
export interface JITI extends Require {
transform: (opts: TransformOptions) => string;
register: () => () => void;
}
export default function createJITI(_filename: string, opts?: JITIOptions, parentModule?: typeof module, requiredModules?: Record<string, typeof module>): JITI;
export {};