2.0.5 • Published 6 months ago
@types/rdfjs__sink-map v2.0.5
Installation
npm install --save @types/rdfjs__sink-map
Summary
This package contains type definitions for @rdfjs/sink-map (https://github.com/rdfjs-base/sink-map).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/rdfjs__sink-map.
index.d.ts
// Type definitions for @rdfjs/sink-map 1.0
// Project: https://github.com/rdfjs-base/sink-map
// Definitions by: tpluscode <https://github.com/tpluscode>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import { EventEmitter } from 'events';
import { Sink } from 'rdf-js';
declare namespace SinkMap {
interface SinkMap<InputStream extends EventEmitter, OutputStream extends EventEmitter> extends Map<string, Sink<InputStream, OutputStream>> {
import(mediaType: string, input: InputStream, options?: any): OutputStream | null;
}
}
declare class SinkMap<InputStream extends EventEmitter, OutputStream extends EventEmitter> extends Map<string, Sink<InputStream, OutputStream>> implements SinkMap<InputStream, OutputStream> {
import(mediaType: string, input: InputStream, options?: any): OutputStream | null;
}
export = SinkMap;
Additional Details
- Last updated: Thu, 03 Jun 2021 17:02:09 GMT
- Dependencies: @types/rdf-js
- Global values: none
Credits
These definitions were written by tpluscode.