diff --git a/lib/mapping/index.d.ts b/lib/mapping/index.d.ts index 86e7b238..528d9b15 100644 --- a/lib/mapping/index.d.ts +++ b/lib/mapping/index.d.ts @@ -43,7 +43,7 @@ export namespace mapping { newObjectInstance(): any; } - interface Result extends Iterator { + interface Result extends IterableIterator { wasApplied(): boolean; first(): T | null; @@ -51,8 +51,6 @@ export namespace mapping { forEach(callback: (currentValue: T, index: number) => void, thisArg?: any): void; toArray(): T[]; - - [Symbol.iterator](): Iterator; } type MappingExecutionOptions = {