-
Notifications
You must be signed in to change notification settings - Fork 18
/
Copy pathindex.d.ts
25 lines (25 loc) · 1.14 KB
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/**
* @license
* Copyright Google Inc. 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.io/license
*/
/// <reference types="node" />
import { BuildEvent, Builder, BuilderConfiguration, BuilderContext } from '@angular-devkit/architect';
import { Path, virtualFs } from '@angular-devkit/core';
import * as fs from 'fs';
import { Observable } from 'rxjs';
import { AssetPatternObject, CurrentFileReplacement } from '../browser/schema';
import { KarmaBuilderSchema } from './schema';
export interface NormalizedKarmaBuilderSchema extends KarmaBuilderSchema {
assets: AssetPatternObject[];
fileReplacements: CurrentFileReplacement[];
}
export declare class KarmaBuilder implements Builder<KarmaBuilderSchema> {
context: BuilderContext;
constructor(context: BuilderContext);
run(builderConfig: BuilderConfiguration<KarmaBuilderSchema>): Observable<BuildEvent>;
buildWebpackConfig(root: Path, projectRoot: Path, sourceRoot: Path | undefined, host: virtualFs.Host<fs.Stats>, options: NormalizedKarmaBuilderSchema): any;
}
export default KarmaBuilder;