mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 12:38:24 +02:00
fix: use node fetch
This commit is contained in:
parent
8aad90088f
commit
6f1924d3c0
235 changed files with 59466 additions and 18798 deletions
26
node_modules/fetch-blob/from.d.ts
generated
vendored
Normal file
26
node_modules/fetch-blob/from.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,26 @@
|
|||
export default blobFromSync;
|
||||
/**
|
||||
* @param {string} path filepath on the disk
|
||||
* @param {string} [type] mimetype to use
|
||||
*/
|
||||
export function blobFromSync(path: string, type?: string): Blob;
|
||||
import File from "./file.js";
|
||||
import Blob from "./index.js";
|
||||
/**
|
||||
* @param {string} path filepath on the disk
|
||||
* @param {string} [type] mimetype to use
|
||||
* @returns {Promise<Blob>}
|
||||
*/
|
||||
export function blobFrom(path: string, type?: string): Promise<Blob>;
|
||||
/**
|
||||
* @param {string} path filepath on the disk
|
||||
* @param {string} [type] mimetype to use
|
||||
* @returns {Promise<File>}
|
||||
*/
|
||||
export function fileFrom(path: string, type?: string): Promise<File>;
|
||||
/**
|
||||
* @param {string} path filepath on the disk
|
||||
* @param {string} [type] mimetype to use
|
||||
*/
|
||||
export function fileFromSync(path: string, type?: string): File;
|
||||
export { File, Blob };
|
Loading…
Add table
Add a link
Reference in a new issue