jiti.d.ts 376 B

123456789
  1. /// <reference types="node" />
  2. import { TransformOptions, JITIOptions } from './types';
  3. declare type Require = typeof require;
  4. export interface JITI extends Require {
  5. transform: (opts: TransformOptions) => string;
  6. register: () => (() => void);
  7. }
  8. export default function createJITI(_filename: string, opts?: JITIOptions, parentModule?: typeof module): JITI;
  9. export {};