@schematics/angular
Version:
Schematics specific to Angular
16 lines (15 loc) • 796 B
TypeScript
/**
* @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 { json } from '@angular-devkit/core';
import { SchematicContext, Tree } from '@angular-devkit/schematics';
import { KarmaConfigAnalysis } from './karma-config-analyzer';
export interface KarmaConfigProcessingResult {
analysis: KarmaConfigAnalysis;
isRemovable: boolean;
}
export declare function processKarmaConfig(karmaConfig: string, options: Record<string, json.JsonValue | undefined>, projectName: string, context: SchematicContext, tree: Tree, cache: Map<string, KarmaConfigProcessingResult>, needDevkitPlugin: boolean, manualMigrationFiles: string[]): Promise<void>;