Skip to content

Commit

Permalink
feat[ts]: compatible typescript inside class
Browse files Browse the repository at this point in the history
  • Loading branch information
jaysunxiao committed Sep 26, 2023
1 parent 9124680 commit 0995a3f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/src/test/typescript/zfoo/buffer/Longbits.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ class Longbits {
/**
* Converts this long bits to a long.
*/
toLong(unsigned): Long {
toLong(unsigned: boolean): Long {
return new Long(this.lo | 0, this.hi | 0, Boolean(unsigned));
};

Expand Down

0 comments on commit 0995a3f

Please sign in to comment.