feat[ts]: compatible typescript inside class

This commit is contained in:
godotg
2023-09-27 00:11:25 +08:00
parent 0995a3f40f
commit 0b9f6da9a8
2 changed files with 3 additions and 1 deletions
@@ -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));
};
@@ -60,6 +60,8 @@ public class NormalObject {
// @Compatible(1)
// public int outCompatibleValue;
// @Compatible(2)
// public int outCompatibleValue2;
public byte getA() {
return a;