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.
import { Sink } from "@rdfjs/types";
import { EventEmitter } from "events";
export interface SinkMap<InputStream extends EventEmitter, OutputStream extends EventEmitter>
extends Map<string, Sink<InputStream, OutputStream>>
{
import(mediaType: string, input: InputStream, options?: any): OutputStream | null;
}
export 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 default SinkMap;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @rdfjs/types
Credits
These definitions were written by tpluscode, and Jesse Wright.