Skip to content

Commit

Permalink
generic ErrorLoader
Browse files Browse the repository at this point in the history
Fix #10898
  • Loading branch information
coder1706 committed Sep 18, 2024
1 parent ccb75e3 commit 2b004e6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ export abstract class Loader<T> {
}

static error<T>(error: Error): Loader<T> {
return new ErrorLoader(error);
return new ErrorLoader<T>(error);
}

get isLoading(): boolean {
Expand Down

0 comments on commit 2b004e6

Please sign in to comment.