From 4d981596eb2f67a8ba72bfe51b785fd28f565d1d Mon Sep 17 00:00:00 2001 From: Richard Shephard Date: Thu, 16 May 2019 15:35:20 +0200 Subject: [PATCH] Fix typings for delete (there is no deleteQuery) in projection manager --- index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index ff4940d..e9ec767 100644 --- a/index.d.ts +++ b/index.d.ts @@ -87,7 +87,7 @@ export class ProjectionsManager { getQuery(name: string, userCredentials: UserCredentials): Promise; getState(name: string, userCredentials: UserCredentials): Promise; updateQuery(name: string, query: string, userCredentials: UserCredentials): Promise; - deleteQuery(name: string, deleteEmittedStreams: boolean, userCredentials: UserCredentials): Promise; + delete(name: string, deleteEmittedStreams: boolean, deleteStateStream: boolean, deleteCheckpointStream: boolean, userCredentials: UserCredentials): Promise; } // Expose errors