Projektstart
This commit is contained in:
18
backend/node_modules/obliterator/iterator.d.ts
generated
vendored
Normal file
18
backend/node_modules/obliterator/iterator.d.ts
generated
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
import type {Sequence} from './types';
|
||||
|
||||
type NextFunction<V> = () => IteratorResult<V>;
|
||||
|
||||
export default class ObliteratorIterator<V> implements IterableIterator<V> {
|
||||
// Constructor
|
||||
constructor(next: NextFunction<V>);
|
||||
|
||||
// Well-known methods
|
||||
next(): IteratorResult<V>;
|
||||
[Symbol.iterator](): IterableIterator<V>;
|
||||
|
||||
// Static methods
|
||||
static of<T>(...args: T[]): ObliteratorIterator<T>;
|
||||
static empty<T>(): ObliteratorIterator<T>;
|
||||
static is(value: any): boolean;
|
||||
static fromSequence<T>(sequence: Sequence<T>): ObliteratorIterator<T>;
|
||||
}
|
||||
Reference in New Issue
Block a user