1.6.6 • Published 7 months ago
@types/file-fetch v1.6.6
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
// Type definitions for file-fetch 1.6
// Project: https://github.com/bergos/file-fetch
// Definitions by: tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
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, 15 Feb 2022 00:01:35 GMT
- Dependencies: @types/node-fetch
- Global values: none
Credits
These definitions were written by tpluscode.