This has been generated with npx storybook init repro_storybook_subcomponents-type-error
, selecting the default React setup.
To see how the error is introduced, look at the commit introduce the type error on subcomponents
.
error.png
shows the error as it shows in VS Code, npx tsc.log
shows the result of running npx tsc
in the terminal.