3.0.7 • Published 4 months ago
@types/rdfjs__fetch v3.0.7
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
- Last updated: Mon, 01 Nov 2021 20:31:24 GMT
- Dependencies: @types/rdfjs__fetch-lite, @types/rdf-js
- Global values: none
Credits
These definitions were written by tpluscode.