Skip to content

Commit

Permalink
ts两个空格缩进
Browse files Browse the repository at this point in the history
  • Loading branch information
liangfujian committed Sep 25, 2023
1 parent a49eba9 commit 59a0722
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions generator/client/typescript/templates/queryx/client.tstmpl
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ export class QXClient {
}

async transaction(fn:(t: Tx)=>void) {
const tx = await this.tx()
await fn(tx)
await tx.commit();
const tx = await this.tx()
await fn(tx)
await tx.commit();
}

and(...clauses: Clause[]) {
Expand Down

0 comments on commit 59a0722

Please sign in to comment.