diff options
| author | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:10:59 +0800 |
|---|---|---|
| committer | littleblack111 <littleblack11111@gmail.com> | 2026-05-18 23:41:44 +0800 |
| commit | fc87c009806dcc98867f6b58efe29b042aa01dee (patch) | |
| tree | 8f59b3f4a5b66e9dfef2d40c8d318e258a521228 /node_modules/jiti/dist/jiti.d.ts | |
| parent | 3336b2356ee6152d9c6ae59bd9b87ccbc0958407 (diff) | |
node: updatemain
Diffstat (limited to 'node_modules/jiti/dist/jiti.d.ts')
| -rw-r--r-- | node_modules/jiti/dist/jiti.d.ts | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/node_modules/jiti/dist/jiti.d.ts b/node_modules/jiti/dist/jiti.d.ts deleted file mode 100644 index 40e0c666..00000000 --- a/node_modules/jiti/dist/jiti.d.ts +++ /dev/null @@ -1,22 +0,0 @@ -/// <reference types="node" /> -/// <reference types="node" /> -import { Module } from "module"; -import { TransformOptions, JITIOptions, JITIImportOptions } from "./types"; -export type { JITIOptions, TransformOptions } from "./types"; -type Require = typeof require; -type Module = typeof module; -type ModuleCache = Record<string, Module>; -export type EvalModuleOptions = Partial<{ - id: string; - filename: string; - ext: string; - cache: ModuleCache; -}>; -export interface JITI extends Require { - transform: (opts: TransformOptions) => string; - register: () => () => void; - evalModule: (source: string, options?: EvalModuleOptions) => unknown; - /** @experimental Behavior of `jiti.import` might change in the future. */ - import: (id: string, importOptions: JITIImportOptions) => Promise<unknown>; -} -export default function createJITI(_filename: string, opts?: JITIOptions, parentModule?: Module, parentCache?: ModuleCache): JITI; |
