From fc87c009806dcc98867f6b58efe29b042aa01dee Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Mon, 18 May 2026 23:10:59 +0800 Subject: node: update --- node_modules/jiti/dist/jiti.d.ts | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 node_modules/jiti/dist/jiti.d.ts (limited to 'node_modules/jiti/dist/jiti.d.ts') 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 @@ -/// -/// -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; -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; -} -export default function createJITI(_filename: string, opts?: JITIOptions, parentModule?: Module, parentCache?: ModuleCache): JITI; -- cgit v1.2.3