Files
reverse-engineering-anything/scripts/lib/verifier-source-loader.d.mts
T
morluto a93a9f43c9 test(support): copy isolated-repository scripts with their runtime import closure (#11281)
* test(support): copy isolated-repository scripts with their runtime import closure

* fix(test): resolve package imports to the file Node loads in the import closure
2026-11-15 23:49:11 +08:00

13 lines
462 B
TypeScript

/**
* Import this checkout's verifier source without starting a compiler process.
* A relative `.js` or `.mjs` specifier from owned source falls back to its
* TypeScript source.
*/
export function importVerifierSource(
url: string,
parent: string,
): Promise<Record<string, unknown>>;
/** TypeScript source a missing `.js` or `.mjs` specifier names, as this loader resolves it. */
export function typeScriptSourcePath(path: string): string | undefined;