@types/rdf-ext
Advanced tools
Comparing version 1.3.1 to 1.3.2
@@ -10,9 +10,10 @@ // Type definitions for rdf-ext 1.3 | ||
import EventEmitter = require('events'); | ||
import { Stream } from 'stream'; | ||
type SinkMap = { | ||
find(mediaType: string): Sink; | ||
type SinkMap<InputStream extends EventEmitter, OutputStream extends EventEmitter> = { | ||
find(mediaType: string): Sink<InputStream, OutputStream>; | ||
import(mediaType: string, input: any, options: any): any; | ||
list(): string[]; | ||
} & { | ||
[mediaType: string]: Sink; | ||
[mediaType: string]: Sink<InputStream, OutputStream>; | ||
}; | ||
@@ -23,6 +24,6 @@ | ||
static waitFor: (event: any) => Promise<any>; | ||
static Parsers: SinkMap; | ||
static Serializers: SinkMap; | ||
static Parsers: SinkMap<EventEmitter, Stream>; | ||
static Serializers: SinkMap<Stream, EventEmitter>; | ||
} | ||
export = DataFactoryExt; |
{ | ||
"name": "@types/rdf-ext", | ||
"version": "1.3.1", | ||
"version": "1.3.2", | ||
"description": "TypeScript definitions for rdf-ext", | ||
@@ -24,4 +24,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "46af6964b95eaa63be21899b32176458f486b45e67c2ae58afd32df3b585d4b0", | ||
"typesPublisherContentHash": "f9e5d88c052a074a6fceefde8e9bcd9b4afcfbc11969c4646fd5680f7d294e5a", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 14 Jan 2020 21:41:52 GMT | ||
* Last updated: Wed, 15 Jan 2020 10:19:24 GMT | ||
* Dependencies: [@types/rdf-js](https://npmjs.com/package/@types/rdf-js) | ||
@@ -14,0 +14,0 @@ * Global values: none |
9166
172