clean
This commit is contained in:
parent
eeb4d26812
commit
4d88a13f5e
|
@ -44,7 +44,7 @@ function searchProtoClassField(localName: string, protoClass: any) {
|
|||
const field = protoClass?.fields?.find((field: any) => field.localName === localName);
|
||||
if (!field) return;
|
||||
|
||||
const fieldGetter = Object.values(field).find(value => typeof value === "function") as any;
|
||||
const fieldGetter = Object.values<any>(field).find(value => typeof value === "function");
|
||||
return fieldGetter?.();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue