This commit is contained in:
yhh
2021-04-23 21:27:34 +08:00
parent 99eca546d2
commit d576a95548
6 changed files with 82 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
module es {
export class TypeUtils {
public static getType(obj: any){
return obj["__proto__"]["constructor"];
return obj.constructor;
}
}
}