Browse Source

* Buffer is also descendent of TJSObject

Michael Van Canneyt 1 year ago
parent
commit
b7553d1abf
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/rtl/src/js.pas

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

@@ -497,7 +497,7 @@ type
     Property byteLength : NativeInt Read fLength;
     Property byteLength : NativeInt Read fLength;
   end;
   end;
 
 
-  TJSBufferSource = class external name 'BufferSource'
+  TJSBufferSource = class external name 'BufferSource' (TJSObject)
   end;
   end;
 
 
   { TJSTypedArray }
   { TJSTypedArray }