UNPKG

@angular/build

Version:

Official build system for Angular

24 lines (23 loc) 921 B
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ import { type Builder, type BuilderContext, type BuilderOutput } from '@angular-devkit/architect'; import type { ConfigOptions } from 'karma'; import type { Schema as KarmaBuilderOptions } from './schema'; export type KarmaConfigOptions = ConfigOptions & { buildWebpack?: unknown; configFile?: string; }; /** * @experimental Direct usage of this function is considered experimental. */ export declare function execute(options: KarmaBuilderOptions, context: BuilderContext, transforms?: { karmaOptions?: (options: KarmaConfigOptions) => KarmaConfigOptions; }): AsyncIterable<BuilderOutput>; export type { KarmaBuilderOptions }; declare const builder: Builder<KarmaBuilderOptions>; export default builder;