芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/test.joruridoctor.com/node_modules/sucrase/dist/types/register.d.ts
import { type Options } from "./index"; export interface HookOptions { matcher?: (code: string) => boolean; ignoreNodeModules?: boolean; } export type RevertFunction = () => void; export declare function addHook(extension: string, sucraseOptions: Options, hookOptions?: HookOptions): RevertFunction; export declare function registerJS(hookOptions?: HookOptions): RevertFunction; export declare function registerJSX(hookOptions?: HookOptions): RevertFunction; export declare function registerTS(hookOptions?: HookOptions): RevertFunction; export declare function registerTSX(hookOptions?: HookOptions): RevertFunction; export declare function registerTSLegacyModuleInterop(hookOptions?: HookOptions): RevertFunction; export declare function registerTSXLegacyModuleInterop(hookOptions?: HookOptions): RevertFunction; export declare function registerAll(hookOptions?: HookOptions): RevertFunction;