chore: newInstance deprecation

This commit is contained in:
rhunk
2024-05-28 21:13:58 +02:00
committed by GitHub
parent 9bc2faf302
commit 0303b1774d

2
index.d.ts vendored
View File

@@ -3,6 +3,8 @@ interface Class<T> {
}
interface JavaType {
/** @deprecated */
newInstance(...args: any[]): any;
__new__(...args: any[]): any;
}