Closed paya-cz closed 3 years ago
The .size() is defined as:
.size()
https://github.com/invertase/denque/blob/b6738e6e5db4a2d335eb44a1403b586db041e0c2/index.d.ts#L36
Shouldn't it return a number?
number
https://github.com/invertase/denque/blob/b6738e6e5db4a2d335eb44a1403b586db041e0c2/index.js#L94-L98
Indeed it should! Will get this fixed
Fixed https://github.com/invertase/denque/commit/88c89a0957a817c3b3aefd50a90b119d656db3da
The
.size()
is defined as:https://github.com/invertase/denque/blob/b6738e6e5db4a2d335eb44a1403b586db041e0c2/index.d.ts#L36
Shouldn't it return a
number
?https://github.com/invertase/denque/blob/b6738e6e5db4a2d335eb44a1403b586db041e0c2/index.js#L94-L98