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:
1.0 KB
|
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 | */
|
---|
8 | import { ExecutionOptions, Rule } from '../engine/interface';
|
---|
9 | /**
|
---|
10 | * Run a schematic from a separate collection.
|
---|
11 | *
|
---|
12 | * @param collectionName The name of the collection that contains the schematic to run.
|
---|
13 | * @param schematicName The name of the schematic to run.
|
---|
14 | * @param options The options to pass as input to the RuleFactory.
|
---|
15 | */
|
---|
16 | export declare function externalSchematic<OptionT extends object>(collectionName: string, schematicName: string, options: OptionT, executionOptions?: Partial<ExecutionOptions>): Rule;
|
---|
17 | /**
|
---|
18 | * Run a schematic from the same collection.
|
---|
19 | *
|
---|
20 | * @param schematicName The name of the schematic to run.
|
---|
21 | * @param options The options to pass as input to the RuleFactory.
|
---|
22 | */
|
---|
23 | export declare function schematic<OptionT extends object>(schematicName: string, options: OptionT, executionOptions?: Partial<ExecutionOptions>): Rule;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.