Browse Source

* Correct getRandomValues

Michael Van Canneyt 7 months ago
parent
commit
45ca9046ae
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/src/weborworker.pas

+ 1 - 1
packages/rtl/src/weborworker.pas

@@ -1087,7 +1087,7 @@ type
   private
     Fsubtle: TJSSubtleCrypto; external name 'subtle';
   Public
-    procedure getRandomValues (anArray : TJSTypedArray);
+    function getRandomValues (anArray : TJSTypedArray) : TJSTypedArray;
     property subtle : TJSSubtleCrypto Read Fsubtle;
   end;