mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
fix: stompjs static Frame.sizeOfUTF8
This commit is contained in:
Vendored
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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');
|
||||
|
||||
Reference in New Issue
Block a user