Skip to content

Commit fdef65c

Browse files
committed
Fixed tsc --noEmit on the example
1 parent c2c097e commit fdef65c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

examples/browser-standalone/main.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -653,7 +653,7 @@ function App() {
653653
>
654654
<option value="">None</option>
655655
{COLUMNS
656-
.filter((c) => c.type === 'SingleSelect' || c.type === 'MultiSelect' || c.type === 'Boolean')
656+
.filter((c) => (['SingleSelect', 'MultiSelect', 'Boolean'] as string[]).includes(c.type as string))
657657
.map((c) => (
658658
<option key={c.id} value={c.id}>{c.id}</option>
659659
))}

0 commit comments

Comments
 (0)