3.0.7 • Published 1 year ago

@types/rdfjs__fetch v3.0.7

Weekly downloads
520
License
MIT
Repository
github
Last release
1 year 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

1 year ago

3.0.6

1 year ago

3.0.5

1 year ago

3.0.4

2 years ago

3.0.3

2 years ago

3.0.2

2 years ago

3.0.1

2 years ago

3.0.0

4 years ago

2.0.3

4 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago