Files
Shifted/node_modules/@storybook/csf-plugin/dist/webpack-loader.d.ts
2026-02-10 01:14:19 +00:00

11 lines
353 B
TypeScript

import { EnrichCsfOptions } from 'storybook/internal/csf-tools';
interface LoaderContext {
async: () => (err: Error | null, result?: string, map?: any) => void;
getOptions: () => EnrichCsfOptions;
resourcePath: string;
}
declare function loader(this: LoaderContext, content: string, map: any): Promise<void>;
export { loader as default };