Mirror: 🎩 A tiny but capable push & pull stream library for TypeScript and Flow

fix: Fix missing declare keyword on ambient enums (#159)

Changed files
+7 -2
.changeset
src
+5
.changeset/light-cougars-enjoy.md
···
+
---
+
'wonka': patch
+
---
+
+
Fix missing `declare` keyword on internal ambient enums.
+2 -2
src/types.d.ts
···
* the {@link Start} signal, to tell a {@link Source} to either send a new value (pulling) or stop
* sending values altogether (cancellation).
*/
-
export enum TalkbackKind {
+
export declare enum TalkbackKind {
/** Instructs the {@link Source} to send the next value. */
Pull = 0,
/** Instructs the {@link Source} to stop sending values and cancels it. */
···
* @see {@link Start} for the data structure of the start signal.
* @see {@link Push} for the data structure of the push signal, carrying values.
*/
-
export enum SignalKind {
+
export declare enum SignalKind {
/**
* Informs the {@link Sink} that it's being called by a {@link Source}.
*