Merge pull request from benmerckx/fix/array_map_dts

Remove T from JSDoc template, fixes 
This commit is contained in:
Kevin Jahns 2021-10-14 15:00:38 +02:00 committed by GitHub
commit d369a771a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -215,7 +215,7 @@ export class YArray extends AbstractType {
* Returns an Array with the result of calling a provided function on every
* element of this YArray.
*
* @template T,M
* @template M
* @param {function(T,number,YArray<T>):M} f Function that produces an element of the new Array
* @return {Array<M>} A new array with each element being the result of the
* callback function