@types/rdfjs__sink-map
TypeScript icon, indicating that this package has built-in type declarations

2.0.5 • Public • Published

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

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/rdfjs__sink-map

Weekly Downloads

2,490

Version

2.0.5

License

MIT

Unpacked Size

4.14 kB

Total Files

5

Last publish

Collaborators

  • types