Merge pull request #335 from benmerckx/fix/array_map_dts

Remove T from JSDoc template, fixes #334
This commit is contained in:
Kevin Jahns
2021-10-14 15:00:38 +02:00
committed by GitHub

View File

@@ -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