Skip to content

Commit

Permalink
adds discriminated union for component types in simple table
Browse files Browse the repository at this point in the history
  • Loading branch information
cammiida committed Oct 9, 2024
1 parent 9c2f81c commit 6f3a68a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/SimpleTable/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const Config = new CG.component({
new CG.prop('hrefPath', new CG.str()),
new CG.prop('textPath', new CG.str()),
),
),
).setUnionType('discriminated'),
),
).exportAs('ColumnConfig'),
),
Expand Down

0 comments on commit 6f3a68a

Please sign in to comment.