Parameter cast isn't necessary.

This commit is contained in:
Henrique Gottardi Werlang 2024-04-11 07:45:43 -03:00 committed by Michael Van Canneyt
parent ca212e1bcd
commit 7f49845a7b

View File

@ -2184,7 +2184,7 @@ constructor TVirtualInterface.Create(PIID: PTypeInfo);
Result :=
function: JSValue
begin
Result := TVirtualInterface(JSThis['$o']).Invoke(MethodName, TJSValueDynArray(JSValue(JSArguments)));
Result := TVirtualInterface(JSThis['$o']).Invoke(MethodName, JSArguments);
end;
end;