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;