I am looking at example 20 and example 21: it would greatly help comprehension if the exact type of the input arguments, as well as the output value, was properly defined. I am not asking to turn this into TypeScript, but at least follow the JSDoc syntax. It can be as simple as:
I am looking at example 20 and example 21: it would greatly help comprehension if the exact type of the input arguments, as well as the output value, was properly defined. I am not asking to turn this into TypeScript, but at least follow the JSDoc syntax. It can be as simple as:
(Provided I interpret the input argument types properly. Is it an
UInt8Array
or the genericArrayBuffer
?)