Skip to content

Commit

Permalink
fix: Fix missing declare keyword on ambient enums (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten authored Mar 28, 2023
1 parent b9ada75 commit 6682fb5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/light-cougars-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'wonka': patch
---

Fix missing `declare` keyword on internal ambient enums.
4 changes: 2 additions & 2 deletions src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* 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. */
Expand Down Expand Up @@ -41,7 +41,7 @@ export type TeardownFn = () => void;
* @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}.
*
Expand Down

0 comments on commit 6682fb5

Please sign in to comment.