Skip to content

Commit be5d99d

Browse files
authored
Update backend q sig (#52)
* Update backend query type to return a Promise of unknown[][] instead of unknown[][] in index.ts * 0.85.7
1 parent b038199 commit be5d99d

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "roamjs-components",
33
"description": "Expansive toolset, utilities, & components for developing RoamJS extensions.",
4-
"version": "0.85.6",
4+
"version": "0.85.7",
55
"main": "index.js",
66
"types": "index.d.ts",
77
"scripts": {

src/types/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ declare global {
130130
};
131131
};
132132
backend: {
133-
q: (query: string, ...params: unknown[]) => unknown[][];
133+
q: (query: string, ...params: unknown[]) => Promise<unknown[][]>;
134134
};
135135
page: {
136136
create: WriteAction;

0 commit comments

Comments
 (0)