diff options
Diffstat (limited to 'gjs/src/binding.ts')
-rw-r--r-- | gjs/src/binding.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gjs/src/binding.ts b/gjs/src/binding.ts index af92e78..3c3f6b2 100644 --- a/gjs/src/binding.ts +++ b/gjs/src/binding.ts @@ -6,7 +6,7 @@ export const kebabify = (str: string) => snakeify(str) .replaceAll("_", "-") export interface Subscribable<T = unknown> { - subscribe(callback: () => void): () => void + subscribe(callback: (value: T) => void): () => void get(): T [key: string]: any } |