Skip to content

Commit

Permalink
Actually remove the Array return for useObservableQuery
Browse files Browse the repository at this point in the history
  • Loading branch information
smithmx committed Nov 4, 2024
1 parent 05afd33 commit 3665264
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/DotNET/ProxyGenerator/Templates/ObservableQuery.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ export class {{Name}} extends ObservableQueryFor<{{Model}}> {
}
{{#if Arguments.[0]}}
static use(args?: {{Name}}Arguments): [ObservableQueryResult<{{Model}}>] {
static use(args?: {{Name}}Arguments): ObservableQueryResult<{{Model}}> {
return useObservableQuery<{{Model}}, {{Name}}, {{Name}}Arguments>({{Name}}, args);
}
{{else}}
static use(): [ObservableQueryResult<{{Model}}>] {
static use(): ObservableQueryResult<{{Model}}> {
return useObservableQuery<{{Model}}, {{Name}}>({{Name}});
}
{{/if}}
Expand Down

0 comments on commit 3665264

Please sign in to comment.