Skip to content

Commit 4836cac

Browse files
committed
Fix EdgeDB.usingOptions generic result
bind() doesn't infer that correctly.
1 parent 18ad970 commit 4836cac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/edgedb/edgedb.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ export class EdgeDB {
6969
* await EdgeDB.run(...);
7070
* });
7171
*/
72-
get usingOptions() {
72+
get usingOptions(): OptionsContext['usingOptions'] {
7373
return this.optionsContext.usingOptions.bind(this.optionsContext);
7474
}
7575

0 commit comments

Comments
 (0)