feat: use @javatypes defiend java type

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
2020-06-22 10:44:17 +08:00
parent 5f0c3bbdd4
commit ef98c49e1d
18 changed files with 60 additions and 56 deletions

View File

@ -13,8 +13,8 @@ declare global {
namespace Java {
function type<T = any>(clazz: string): T
function from<T>(javaObj: T[]): T[]
function to<T>(array: T[], type?: T): T[]
function from<T = any>(javaObj: T[]): T[]
function to<T = any>(array: T[], type?: T): T[]
function extend(...parentTypes: any[]): any
function synchronized(func: () => void, lock: any): Function
function asJSONCompatible<T = any>(obj: T): T