From cc0b6259d119866d86e39c64266ff5de4e058283 Mon Sep 17 00:00:00 2001 From: Nicolas Dextraze Date: Wed, 4 Jan 2017 08:58:00 -0800 Subject: [PATCH] Fix missing return value in TypeScript definition. Published version 0.0.23 --- index.d.ts | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/index.d.ts b/index.d.ts index 2863718..b5e725e 100644 --- a/index.d.ts +++ b/index.d.ts @@ -173,7 +173,7 @@ export interface LiveProcessingStartedCallback { } export interface SubscriptionDroppedCallback { - (subscription: TSubscription, reason: string, error?: Error); + (subscription: TSubscription, reason: string, error?: Error): void; } export interface EventStoreNodeConnection { diff --git a/package.json b/package.json index 3485f31..0196815 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eventstore-node", - "version": "0.0.22", + "version": "0.0.23", "description": "A port of the EventStore .Net ClientAPI to Node.js", "main": "index.js", "types": "index.d.ts",