From 40fbcc8c28e1a177aeea2eba65068ed71cd5e54e Mon Sep 17 00:00:00 2001 From: Stefan Erichsen Date: Thu, 8 Feb 2018 15:53:09 +0100 Subject: [PATCH] Frame now implements Message as it should --- types/stompjs/index.d.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/types/stompjs/index.d.ts b/types/stompjs/index.d.ts index 008b99b511..5cefa092a0 100644 --- a/types/stompjs/index.d.ts +++ b/types/stompjs/index.d.ts @@ -51,9 +51,14 @@ export interface Message { nack(headers?: {}): any; } -export class Frame { +export class Frame implements Message { + command: string; + headers: {}; + body: string; constructor(command: string, headers?: {}, body?: string); + ack(headers?: {}): any; + nack(headers?: {}): any; toString(): string; sizeOfUTF8(s: string): number; unmarshall(datas: any): any;