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 0995a3f commit 0b9f6da
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion protocol/src/main/resources/typescript/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
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,8 @@ public class NormalObject {

// @Compatible(1)
// public int outCompatibleValue;
// @Compatible(2)
// public int outCompatibleValue2;

public byte getA() {
return a;
Expand Down

0 comments on commit 0b9f6da

Please sign in to comment.