Skip to content

Commit a5b6763

Browse files
committed
fix typos
1 parent 62b48aa commit a5b6763

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

_typos.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[default]
2+
# Use typos:ignore-next-line to ignore the next line in the codebase
3+
extend-ignore-re = ["(#|//)\\s*typos:ignore-next-line\\n.*"]

src/data/duckdb/duckdb.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -277,11 +277,13 @@ export const DuckDBKeywords: Record<string, SqlKeywordInfo> = {
277277
example: "generate_series(2, 5, 3)",
278278
},
279279
histogram: {
280+
// # typos:ignore-next-line
280281
description: "Returns a LIST of STRUCTs with the fields bucket and count.",
281282
example: "histogram(A)",
282283
},
283284
histogram_exact: {
284285
description:
286+
// # typos:ignore-next-line
285287
"Returns a LIST of STRUCTs with the fields bucket and count matching the buckets exactly.",
286288
example: "histogram_exact(A, [0, 1, 2])",
287289
},
@@ -302,6 +304,7 @@ export const DuckDBKeywords: Record<string, SqlKeywordInfo> = {
302304
example: "string_split('hello-world', '-')",
303305
},
304306
struct_concat: {
307+
// # typos:ignore-next-line
305308
description: "Merge the multiple STRUCTs into a single STRUCT.",
306309
example: "struct_concat(struct_pack(i := 4), struct_pack(s := 'string'))",
307310
},
@@ -366,7 +369,7 @@ export const DuckDBKeywords: Record<string, SqlKeywordInfo> = {
366369
example: "to_microseconds(5)",
367370
},
368371
to_millennia: {
369-
description: "Construct a millenium interval",
372+
description: "Construct a millennium interval",
370373
example: "to_millennia(1)",
371374
},
372375
to_milliseconds: {

0 commit comments

Comments
 (0)