diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/shapex.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shapex.ts b/src/shapex.ts index 4fde18b..8ef6ebd 100644 --- a/src/shapex.ts +++ b/src/shapex.ts @@ -35,7 +35,7 @@ export type EventCallback< T, W extends unknown = undefined, D extends unknown = W -> = (state: T, data?: W) => SubscriptionResponse<T, W, D>; +> = (state: T, data?: W) => SubscriptionResponse<T, W, D> | void; type Subscription<T, W extends unknown = undefined, D extends unknown = W> = { listener: string; |
