diff options
author | Aylur <[email protected]> | 2024-11-02 23:53:41 +0100 |
---|---|---|
committer | Aylur <[email protected]> | 2024-11-02 23:57:22 +0100 |
commit | cdaf8905ac3d566284719a29af6e4eddc10bb857 (patch) | |
tree | 6bd3ffc4848cae29dede4c489c8b5f5a17d0e085 /docs/guide/typescript/binding.md | |
parent | 031321b3f418369a6c4ce578ba2673b7631117c1 (diff) | |
parent | d47b470f68a8e5f2d19f32fbfb1de95752ba8eb8 (diff) |
Merge branch 'main' into feat/gtk4
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]> ``` |