diff options
author | Aylur <[email protected]> | 2024-06-25 22:48:02 +0200 |
---|---|---|
committer | Aylur <[email protected]> | 2024-06-25 22:48:02 +0200 |
commit | 03228cdb160cff067e562a6ab7f8650af23358bd (patch) | |
tree | ef2d240255fb251a6ba6c9ddcb047afe8b6347fa /gjs/src/binding.ts | |
parent | 90608afe4a29d628370ee8e4c8986a5be2ce9445 (diff) |
fix gjs types
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 } |