storybook/app/angular/standalone.d.ts

22 lines
680 B
TypeScript

import type { CLIOptions, LoadOptions, BuilderOptions } from '@storybook/core-common';
import type { BuilderContext } from '@angular-devkit/architect';
export type StandaloneOptions = Partial<
CLIOptions &
LoadOptions &
BuilderOptions & {
mode?: 'static' | 'dev';
angularBrowserTarget?: string | null;
angularBuilderOptions?: Record<string, any> & {
styles?: any[];
stylePreprocessorOptions?: any;
};
angularBuilderContext?: BuilderContext | null;
tsConfig?: string;
}
>;
declare module '@storybook/angular/standalone' {
export default function buildStandalone(options: StandaloneOptions): Promise<unknown>;
}