-
Notifications
You must be signed in to change notification settings - Fork 41
Open
Description
I think the Enumerator on the following lines should be replaced by Generator, as events is a generator function.
As far as I can tell, Enumerator is for enumerating over a COM collection for Windows Script Host APIS.
Lines 1105 to 1108 in 1a873b7
| events(): | |
| | Enumerator<Event> | |
| | Enumerator<TimeRangeEvent> | |
| | Enumerator<IndexedEvent>; |
TypeScript (4.7.4) output for a project using pondjs:
node_modules/.pnpm/pondjs@0.9.0/node_modules/pondjs/src/index.d.ts:1106:15 - error TS2552: Cannot find name 'Enumerator'. Did you me
an 'Generator'?
1106 | Enumerator<Event>
~~~~~~~~~~
node_modules/.pnpm/pondjs@0.9.0/node_modules/pondjs/src/index.d.ts:1107:15 - error TS2552: Cannot find name 'Enumerator'. Did you me
an 'Generator'?
1107 | Enumerator<TimeRangeEvent>
~~~~~~~~~~
node_modules/.pnpm/pondjs@0.9.0/node_modules/pondjs/src/index.d.ts:1108:15 - error TS2552: Cannot find name 'Enumerator'. Did you me
an 'Generator'?
1108 | Enumerator<IndexedEvent>;
~~~~~~~~~~
Found 3 errors.
Metadata
Metadata
Assignees
Labels
No labels