/opt/canhelp/node_modules/esbuild-register/dist
NameSizeModeActions
loader.d.ts970644editdlrm
loader.js4210644editdlrm
node.d.ts7910644editdlrm
node.js1771610644editdlrm
Edit: /opt/canhelp/node_modules/esbuild-register/dist/node.d.ts (791B)
import { TransformOptions } from 'esbuild'; declare type LOADERS = 'js' | 'jsx' | 'ts' | 'tsx'; declare const FILE_LOADERS: Record; declare type EXTENSIONS = keyof typeof FILE_LOADERS; interface RegisterOptions extends TransformOptions { extensions?: EXTENSIONS[]; /** * Auto-ignore node_modules. Independent of any matcher. * @default true */ hookIgnoreNodeModules?: boolean; /** * A matcher function, will be called with path to a file. Should return truthy if the file should be hooked, falsy otherwise. */ hookMatcher?(fileName: string): boolean; } declare function register(esbuildOptions?: RegisterOptions): { unregister(): void; }; declare type Register = ReturnType; export { Register, register };