UNPKG

@dual-bundle/import-meta-resolve

Version:

A fork of `import-meta-resolve` with commonjs + ESM support at the same time, AKA dual package.

13 lines 395 B
/** * @param {URL} url * @param {{parentURL: string}} context * @returns {string | null} */ export function defaultGetFormatWithoutErrors(url: URL, context: { parentURL: string; }): string | null; export type ProtocolHandler = (parsed: URL, context: { parentURL: string; source?: Buffer; }, ignoreErrors: boolean) => string | null | void; //# sourceMappingURL=get-format.d.ts.map