mirror of
https://github.com/Stirling-Tools/Stirling-PDF.git
synced 2026-09-02 21:03:34 +03:00
# 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).
12 lines
432 B
TypeScript
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;
|
|
}
|