Skip to content

Commit 4c91b3b

Browse files
committed
Pre-release with TypeScript typings
1 parent 7154305 commit 4c91b3b

File tree

11 files changed

+775
-172
lines changed

11 files changed

+775
-172
lines changed

.prettierrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,5 @@
1616
"trailingComma": "all",
1717
"useTabs": false,
1818
"vueIndentScriptAndStyle": false,
19-
"plugins": [
20-
"prettier-plugin-jsdoc"
21-
]
19+
"plugins": ["prettier-plugin-jsdoc"]
2220
}

index.d.ts

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4637,11 +4637,9 @@ declare type CAPI = {
46374637
eTextRep: CAPI['SQLITE_UTF8'],
46384638
pApp: WasmPointer,
46394639
xFunc:
4640-
| ((ctx: WasmPointer, ...values: SqlValue[]) => SqlValue)
4641-
| WasmPointer,
4642-
xStep:
4643-
| ((ctx: WasmPointer, ...values: SqlValue[]) => void)
4640+
| ((ctx: WasmPointer, ...values: SqlValue[]) => SqlValue)
46444641
| WasmPointer,
4642+
xStep: ((ctx: WasmPointer, ...values: SqlValue[]) => void) | WasmPointer,
46454643
xFinal: ((ctx: WasmPointer) => SqlValue) | WasmPointer,
46464644
) => number;
46474645

@@ -4674,9 +4672,7 @@ declare type CAPI = {
46744672
xFunc:
46754673
| ((ctx: WasmPointer, ...values: SqlValue[]) => SqlValue)
46764674
| WasmPointer,
4677-
xStep:
4678-
| ((ctx: WasmPointer, ...values: SqlValue[]) => void)
4679-
| WasmPointer,
4675+
xStep: ((ctx: WasmPointer, ...values: SqlValue[]) => void) | WasmPointer,
46804676
xFinal: ((ctx: WasmPointer) => SqlValue) | WasmPointer,
46814677
xDestroy: (() => void) | WasmPointer,
46824678
) => number;
@@ -4713,9 +4709,7 @@ declare type CAPI = {
47134709
| WasmPointer,
47144710
xFinal: ((ctx: WasmPointer) => SqlValue) | WasmPointer,
47154711
xValue: ((ctx: WasmPointer) => void) | WasmPointer,
4716-
xInverse:
4717-
| ((ctx: WasmPointer, ...values: SqlValue[]) => void)
4718-
| WasmPointer,
4712+
xInverse: ((ctx: WasmPointer, ...values: SqlValue[]) => void) | WasmPointer,
47194713
xDestroy: (() => void) | WasmPointer,
47204714
) => number;
47214715

0 commit comments

Comments
 (0)