add tsconfig for storybook files and fix ImagePreview story
Add tsconfig.storybook.json to cover *.stories.tsx files excluded by tsconfig.app.json, resolving TS2307 for @storybook/react-vite imports. Replace 1x1 pixel PNG with a visible red/white checkerboard in the ImagePreview story. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
8d434e2381
commit
abb2d57e40
1 changed files with 11 additions and 2 deletions
8
clients/web/tsconfig.storybook.json
Normal file
8
clients/web/tsconfig.storybook.json
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
{
|
||||
"extends": "./tsconfig.app.json",
|
||||
"compilerOptions": {
|
||||
"types": ["vite/client"]
|
||||
},
|
||||
"include": ["src/**/*.stories.ts", "src/**/*.stories.tsx"],
|
||||
"exclude": []
|
||||
}
|
||||
Loading…
Reference in a new issue