From 434aa8343fdcbb4d5002f934979913c099489bee Mon Sep 17 00:00:00 2001 From: altaf-creator Date: Sun, 16 Nov 2025 19:08:29 +0800 Subject: sdk, del --- .../node_modules/@protobufjs/fetch/index.d.ts | 56 ---------------------- 1 file changed, 56 deletions(-) delete mode 100644 frontend-old/node_modules/@protobufjs/fetch/index.d.ts (limited to 'frontend-old/node_modules/@protobufjs/fetch/index.d.ts') diff --git a/frontend-old/node_modules/@protobufjs/fetch/index.d.ts b/frontend-old/node_modules/@protobufjs/fetch/index.d.ts deleted file mode 100644 index 77cf9f3..0000000 --- a/frontend-old/node_modules/@protobufjs/fetch/index.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -export = fetch; - -/** - * Node-style callback as used by {@link util.fetch}. - * @typedef FetchCallback - * @type {function} - * @param {?Error} error Error, if any, otherwise `null` - * @param {string} [contents] File contents, if there hasn't been an error - * @returns {undefined} - */ -type FetchCallback = (error: Error, contents?: string) => void; - -/** - * Options as used by {@link util.fetch}. - * @typedef FetchOptions - * @type {Object} - * @property {boolean} [binary=false] Whether expecting a binary response - * @property {boolean} [xhr=false] If `true`, forces the use of XMLHttpRequest - */ - -interface FetchOptions { - binary?: boolean; - xhr?: boolean -} - -/** - * Fetches the contents of a file. - * @memberof util - * @param {string} filename File path or url - * @param {FetchOptions} options Fetch options - * @param {FetchCallback} callback Callback function - * @returns {undefined} - */ -declare function fetch(filename: string, options: FetchOptions, callback: FetchCallback): void; - -/** - * Fetches the contents of a file. - * @name util.fetch - * @function - * @param {string} path File path or url - * @param {FetchCallback} callback Callback function - * @returns {undefined} - * @variation 2 - */ -declare function fetch(path: string, callback: FetchCallback): void; - -/** - * Fetches the contents of a file. - * @name util.fetch - * @function - * @param {string} path File path or url - * @param {FetchOptions} [options] Fetch options - * @returns {Promise} Promise - * @variation 3 - */ -declare function fetch(path: string, options?: FetchOptions): Promise<(string|Uint8Array)>; -- cgit v1.2.3