mirror of
https://github.com/tiennm99/zfoo.git
synced 2026-08-23 22:27:28 +00:00
feat[ts]: compatible typescript inside class
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user