3.0.7 • Published 4 months ago

@types/rdfjs__fetch v3.0.7

Weekly downloads
520
License
MIT
Repository
github
Last release
4 months ago

Installation

npm install --save @types/rdfjs__fetch

Summary

This package contains type definitions for @rdfjs/fetch (https://github.com/rdfjs-base/fetch).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__fetch.

index.d.ts

// Type definitions for @rdfjs/fetch 3.0
// Project: https://github.com/rdfjs-base/fetch
// Definitions by: tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped

import { FormatsInit, RdfFetchResponse, FactoryInit, DatasetResponse } from '@rdfjs/fetch-lite';
import { DatasetCore, Quad, BaseQuad } from 'rdf-js';

export { Headers } from '@rdfjs/fetch-lite';

declare function rdfFetch(url: string, options?: Partial<FormatsInit>): Promise<RdfFetchResponse>;
declare function rdfFetch <D extends DatasetCore<OutQuad, InQuad>, OutQuad extends BaseQuad = Quad, InQuad extends BaseQuad = OutQuad>(
    url: string,
    options?: Partial<FactoryInit<D, OutQuad, InQuad>>): Promise<DatasetResponse<D, OutQuad, InQuad>>;

export default rdfFetch;

Additional Details

Credits

These definitions were written by tpluscode.

3.0.7

4 months ago

3.0.6

4 months ago

3.0.5

4 months ago

3.0.4

6 months ago

3.0.3

7 months ago

3.0.2

8 months ago

3.0.1

1 year ago

3.0.0

3 years ago

2.0.3

3 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago