Initial commit

This commit is contained in:
2026-01-18 21:01:43 +03:00
commit 455b6df2ba
3329 changed files with 1143638 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
/// <reference types="node" resolution-mode="require"/>
/**
* @param {URL} url
* @param {{parentURL: string}} context
* @returns {string | null}
*/
export function defaultGetFormatWithoutErrors(url: URL, context: {
parentURL: string;
}): string | null;
/**
* @param {string} url
* @param {{parentURL: string}} context
* @returns {null | string | void}
*/
export function defaultGetFormat(url: string, context: {
parentURL: string;
}): null | string | void;
export type ProtocolHandler = (parsed: URL, context: {
parentURL: string;
}, ignoreErrors: boolean) => string | null | void;
import { URL } from 'node:url';