Skip to content

Commit fd06d38

Browse files
committed
fix(ts): fix Object#clone return type
1 parent 5a31492 commit fd06d38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

storage.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,10 @@ export class Object extends BaseObject {
300300
bitAnd(attributeName: string, item: number): this;
301301
bitOr(attributeName: string, item: number): this;
302302
bitXor(attributeName: string, item: number): this;
303-
change(options: any): Object;
303+
change(options: any): this;
304304
changedAttributes(diff: any): boolean;
305305
clear(options: any): any;
306-
clone(): Object;
306+
clone(): this;
307307
destroy(options?: Object.DestroyOptions): Promise<this>;
308308
dirty(attr: String): boolean;
309309
escape(attr: string): string;

0 commit comments

Comments
 (0)