Installation
npm install --save @types/file-fetch
Summary
This package contains type definitions for file-fetch (https://github.com/bergos/file-fetch).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/file-fetch.
index.d.ts
import { Headers } from "node-fetch";
interface FileFetchOptions {
baseDir?: string | undefined;
baseURL?: string | undefined;
}
type Fetch = typeof fetch;
interface FileFetch extends Fetch {
create(opts?: FileFetchOptions): FileFetch;
Headers: typeof Headers;
}
declare const fileFetch: FileFetch;
export = fileFetch;
Additional Details
- Last updated: Tue, 07 Nov 2023 03:09:37 GMT
- Dependencies: @types/node-fetch
Credits
These definitions were written by tpluscode.