Skip to content
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.

Commit

Permalink
chore: cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
helmturner authored Nov 26, 2023
1 parent ab9df8e commit f97876b
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions src/async/iterableUtils.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { assert } from "../internals/assert.js";
eimport { assert } from "../internals/assert.js";
import {
NodeJSReadableStreamEsque,
WebReadableStreamEsque,
Expand Down Expand Up @@ -151,20 +151,3 @@ function addIfProvided<TKey extends "data" | "event" | "id" | "retry">(

return `${key}: ${value as any}\n`;
}

export interface AsyncIterableEsque<T = unknown> {
[Symbol.asyncIterator](): AsyncIterator<T>;
}

export interface IterableEsque<T = unknown> {
[Symbol.iterator](): Iterator<T>;
}

export type GeneratorFnEsque = () => Generator;

export type AsyncGeneratorFnEsque = () => AsyncGenerator;

export type PromiseEsque = PromiseLike<unknown>;

export type ThunkEsque = () => unknown;

0 comments on commit f97876b

Please sign in to comment.