feat[ts]: compatible typescript inside class

This commit is contained in:
godotg
2023-09-26 23:53:51 +08:00
parent 91246808cf
commit 0995a3f40f
@@ -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));
};