Files
Stirling-PDF/frontend/.storybook/declarations.d.ts
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

12 lines
432 B
TypeScript

// Shorthand (no body) so it doesn't shadow the editor's `*.module.css`
// declaration when both are in one program - an empty body would type every
// CSS-module class as a missing property.
declare module "*.css";
// Vite `?raw` suffix imports a file's contents as a string (used in preview.tsx
// to load the English translation TOML synchronously).
declare module "*?raw" {
const content: string;
export default content;
}