source: trip-planner-front/node_modules/@angular-devkit/schematics/src/rules/call.d.ts

Last change on this file was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 890 bytes
Line 
1/**
2 * @license
3 * Copyright Google LLC All Rights Reserved.
4 *
5 * Use of this source code is governed by an MIT-style license that can be
6 * found in the LICENSE file at https://angular.io/license
7 */
8import { BaseException } from '@angular-devkit/core';
9import { Observable } from 'rxjs';
10import { Rule, SchematicContext, Source } from '../engine/interface';
11import { Tree } from '../tree/interface';
12/**
13 * When a rule or source returns an invalid value.
14 */
15export declare class InvalidRuleResultException extends BaseException {
16 constructor(value?: {});
17}
18export declare class InvalidSourceResultException extends BaseException {
19 constructor(value?: {});
20}
21export declare function callSource(source: Source, context: SchematicContext): Observable<Tree>;
22export declare function callRule(rule: Rule, input: Tree | Observable<Tree>, context: SchematicContext): Observable<Tree>;
Note: See TracBrowser for help on using the repository browser.