We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a66a21 commit 6d7e972Copy full SHA for 6d7e972
src/types/columns.test.ts
@@ -37,6 +37,13 @@ Deno.test('ColumnsMap', async (t) => {
37
// @ts-expect-error ibid
38
assertEquals(columns.size, ['0'])
39
})
40
+ await t.step('set columns are permissible', () => {
41
+ const columns = new ColumnsMap()
42
+ // @ts-expect-error ts thinks size is protected property
43
+ columns['set'] = ['0']
44
+ // @ts-expect-error ibid
45
+ assertEquals(columns.set, ['0'])
46
+ })
47
await t.step('missing columns are undefined', () => {
48
const columns = new ColumnsMap()
49
columns['a'] = ['0']
0 commit comments