diff options
author | Kevin <[email protected]> | 2024-10-25 13:50:00 -0300 |
---|---|---|
committer | GitHub <[email protected]> | 2024-10-25 18:50:00 +0200 |
commit | 8306ec0789854f9e04bc1708c4a7dc2afc1b4c90 (patch) | |
tree | 881784894310510e4c62e2fc850ea934ca5aee86 /docs/guide/typescript/binding.md | |
parent | e8715aec5e05e0438192e611afea2fe6f10cb80f (diff) |
docs: lua docs (#50)
Diffstat (limited to 'docs/guide/typescript/binding.md')
-rw-r--r-- | docs/guide/typescript/binding.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/guide/typescript/binding.md b/docs/guide/typescript/binding.md index 05645ab..15fe3cc 100644 --- a/docs/guide/typescript/binding.md +++ b/docs/guide/typescript/binding.md @@ -25,11 +25,11 @@ or an object implementing the `Connectable` interface and one of its properties (usually a `GObject.Object` instance). ```ts -function bind<T>(obj: Subscribable): Binding<T> +function bind<T>(obj: Subscribable<T>): Binding<T> function bind< - Obj extends Connectable, - Prop extends keyof Obj, + Obj extends Connectable, + Prop extends keyof Obj, >(obj: Obj, prop: Prop): Binding<Obj[Prop]> ``` |