Fixing EventAppeared callback definition for TypeScript

This commit is contained in:
Nicolas Dextraze 2016-11-21 15:56:04 -08:00
parent 51adf5bcc8
commit eb5f95975b

2
index.d.ts vendored
View File

@ -167,7 +167,7 @@ export interface RawStreamMetadataResult {
// Callbacks // Callbacks
export interface EventAppearedCallback<TSubscription> { export interface EventAppearedCallback<TSubscription> {
(subscription: TSubscription, event: EventData): void; (subscription: TSubscription, event: ResolvedEvent): void;
} }
export interface LiveProcessingStartedCallback { export interface LiveProcessingStartedCallback {