Files
Stirling-PDF/frontend/.storybook/tsconfig.json
T
James Brunton 6933d11bce Type-check Storybook files (#7223)
# Description of Changes
Storybook files aren't currently being type-checked, but they should be.
A bunch of them had a dodgy import in them (which didn't affect anything
because it was just an `import type` but still worth fixing).
2026-07-31 13:20:07 +00:00

16 lines
609 B
JSON

{
// Extends the same tsconfig main.ts feeds to vite-tsconfig-paths, so the
// alias map can't drift from the one Storybook actually bundles with, and
// stories are checked under that resolution (@app/* = proprietary -> core).
// The per-layer typecheck projects also cover story files, but each resolves
// @app/* its own way - not the way the single Storybook build renders them.
"extends": "../editor/tsconfig.proprietary.vite.json",
"exclude": [],
"include": [
"./**/*",
"../editor/src/global.d.ts",
"../editor/src/**/*.stories.ts",
"../editor/src/**/*.stories.tsx"
]
}