implemented of() and named() for numbers

This commit is contained in:
2026-02-22 14:21:22 +01:00
parent 140896bd7c
commit c76b5c3f0a
40 changed files with 1876 additions and 4344 deletions

View File

@@ -2,7 +2,7 @@ import type { EnumerateFlags } from '.'
export function useIterator<S, F>(
value: S,
IterConstructor: { new (value: S): Iterator<F> }
IterConstructor: { new (value: S): Iterator<F> },
): EnumerateFlags<F> {
const enumerate = {
_value: value,