Skip to content

Commit 97fcadc

Browse files
committed
🐛 fix: column weights value is a string A/B/C/D
1 parent e5223d3 commit 97fcadc

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "extra-sql",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "SQL is designed for managing or stream processing data in an RDBMS.",
55
"main": "index.js",
66
"module": "index.mjs",

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export const OPERAND_COUNT: Map<string, number> = new Map([
4444
type ColumnTypes = {[key: string]: string};
4545

4646
/** Weights for columns in a table (for a tsvector). */
47-
type ColumnWeights = {[key: string]: number};
47+
type ColumnWeights = {[key: string]: string};
4848

4949
/** Data for a row in a table. */
5050
type RowData = {[key: string]: any};

0 commit comments

Comments
 (0)