Chore: Restore vectorator export (#83637)

This commit is contained in:
Ryan McKinley
2024-02-28 23:00:00 +02:00
committed by GitHub
parent a862a4264d
commit 239abe4234
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -46,3 +46,4 @@ export { getLinksSupplier } from './field/fieldOverrides';
// deprecated
export { CircularVector } from './vector/CircularVector';
export { vectorator } from './vector/FunctionalVector';
@@ -183,7 +183,7 @@ const emptyarray: any[] = [];
*
* @deprecated use a simple Arrays
*/
function vectorator<T>(vector: FunctionalVector<T>) {
export function vectorator<T>(vector: FunctionalVector<T>) {
return {
*[Symbol.iterator]() {
for (let i = 0; i < vector.length; i++) {