mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-04 13:01:07 +08:00
Add an expect error to quieten TS
This commit is contained in:
parent
062c73b900
commit
a481e2cfb5
@ -26,6 +26,7 @@ export const StoryIsUnrenderable = {
|
||||
export const StoryContainsUnrenderable = {
|
||||
render: () => (
|
||||
<div>
|
||||
{/* @ts-expect-error */}
|
||||
<BadComponent />
|
||||
</div>
|
||||
),
|
||||
|
Loading…
x
Reference in New Issue
Block a user