lint: fix biome issues in new test files and helpers
This commit is contained in:
1 parent
99eb3af17b
commit
93862c2275
41 files changed
+488
-314
No files matched your search
+3
-1
@@ -44,10 +44,12 @@ function makeQuery(
|
||||
]) {
|
||||
query[method] = self;
|
||||
}
|
||||
// biome-ignore lint/suspicious/noThenProperty: intentional thenable for await support
|
||||
query.then = (
|
||||
onFulfilled: (value: unknown) => unknown,
|
||||
onRejected: (error: unknown) => unknown,
|
||||
) => Promise.resolve(resolve(table, projection)).then(onFulfilled, onRejected);
|
||||
) =>
|
||||
Promise.resolve(resolve(table, projection)).then(onFulfilled, onRejected);
|
||||
query.catch = (onRejected: (error: unknown) => unknown) =>
|
||||
Promise.resolve(resolve(table, projection)).catch(onRejected);
|
||||
return query;
|
||||
|
||||
Reference in new issue
Block a user