1.6.6 • Published 7 months ago

@types/file-fetch v1.6.6

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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.

1.6.6

7 months ago

1.6.5

7 months ago

1.6.4

8 months ago

1.6.3

2 years ago

1.6.2

3 years ago

1.6.1

3 years ago

1.6.0

3 years ago