fix: stompjs static Frame.sizeOfUTF8

This commit is contained in:
Victor Moukhortov
2018-02-09 11:05:39 -05:00
parent 0f0c24c3db
commit bcc5bc34cb
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -55,7 +55,7 @@ export class Frame {
constructor(command: string, headers?: {}, body?: string);
toString(): string;
sizeOfUTF8(s: string): number;
static sizeOfUTF8(s: string): number;
static unmarshall(datas: any): any;
static marshall(command: string, headers?: {}, body?: string): any;
}
+1 -1
View File
@@ -93,7 +93,7 @@ frame = new Stomp.Frame('command', {}, 'body');
frame.toString();
frame.sizeOfUTF8('abc');
Stomp.Frame.sizeOfUTF8('abc');
Stomp.Frame.unmarshall(0);
Stomp.Frame.unmarshall('data');