Files
cd438fe7e7 fix(mobile): add type declaration for auto-generated storybook.requires (#7467)
The storybook.requires.ts file is auto-generated by sb-rn-get-stories
and gitignored, but _layout.tsx imports it transitively via .storybook/index.ts.
This caused type-check to fail on fresh clones or CI where the generated
file doesn't exist. A .d.ts provides the module shape as a fallback.

Co-authored-by: Hanzo Dev <[email protected]>
2026-03-18 15:35:04 +01:00

6 lines
265 B
TypeScript

// Type declaration for the auto-generated storybook.requires file.
// The actual file is created by sb-rn-get-stories / withStorybook and is gitignored.
export declare const view: {
getStorybookUI: (params?: Record<string, unknown>) => () => React.JSX.Element
}