storybook/app/angular/standalone.d.ts
Thibaud Av b9eaf4ba04
feat(angular): add getWebpackConfig for angular 12.2.x & 13.x.x
only work with angular storybook builder
2021-11-10 19:32:04 +01:00

18 lines
543 B
TypeScript

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