We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 79a05e4 commit 8c2e4b1Copy full SHA for 8c2e4b1
1 file changed
src/model/IFilterWithParameter.ts
@@ -12,7 +12,7 @@ export type IFieldsAsNumbers<T> = { [P in keyof T]: number };
12
export interface IBaseQuery<T> {
13
enumerate(): AsyncGenerator<T>;
14
15
- firstOrFail(): Promise<T>;
+ firstOrFail(errorMessage?: string): Promise<T>;
16
first(): Promise<T>;
17
18
some(): Promise<boolean>;
0 commit comments