Skip to content

Commit

Permalink
Merge pull request #132 from LucioFranco/lucio/fix-sync-type-def
Browse files Browse the repository at this point in the history
fix sync sync return ts type
  • Loading branch information
LucioFranco authored Aug 8, 2024
2 parents ed3532d + e351fda commit 53978e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ declare namespace Libsql {
source: string,
): BindParameters extends unknown[] ? Statement<BindParameters> : Statement<[BindParameters]>;
transaction<F extends VariableArgFunction>(fn: F): Transaction<F>;
sync(): this;
sync(): any;
exec(source: string): this;
pragma(source: string, options?: Database.PragmaOptions): unknown;
function(name: string, cb: (...params: unknown[]) => unknown): this;
Expand Down

0 comments on commit 53978e0

Please sign in to comment.