Skip to content

Commit

Permalink
Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Mar 25, 2024
1 parent 2bee20d commit 98e4e7c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/async_insert.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ void (async () => {
query: `SELECT count(*) AS count FROM ${table}`,
format: 'JSONEachRow',
})
const [{ count }] = await resultSet.json<[{ count: string }]>()
const [{ count }] = await resultSet.json<{ count: string }>()
// It is expected to have 10k records in the table.
console.info('Select count result:', count)
})()
2 changes: 1 addition & 1 deletion examples/async_insert_without_waiting.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void (async () => {
query: `SELECT count(*) AS count FROM ${tableName}`,
format: 'JSONEachRow',
})
const [{ count }] = await resultSet.json<[{ count: string }]>()
const [{ count }] = await resultSet.json<{ count: string }>()
console.log(
'Rows inserted so far:',
`${rowsInserted};`,
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { ClickHouseLogLevel } from '@clickhouse/client-common'
import { createSimpleTable } from '@test/fixtures/simple_table'
import { guid, sleep } from '@test/utils'
import type { NodeClickHouseClient } from '../../src'
Expand Down

0 comments on commit 98e4e7c

Please sign in to comment.