Skip to content

Commit

Permalink
fix(ui): Assert returned theme isn't a Partial
Browse files Browse the repository at this point in the history
  • Loading branch information
dstaley committed Oct 18, 2024
1 parent dba4bec commit 7972cbf
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/ui/src/themes/buildTheme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,8 @@ export function buildTheme(p: PartialTheme): ParsedElements {
);
}

return theme;
// eslint-disable-next-line @typescript-eslint/no-unnecessary-type-assertion
return theme as ParsedElements;
}

/**
Expand Down

0 comments on commit 7972cbf

Please sign in to comment.