diff options
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/dependencies.d.ts')
-rw-r--r-- | sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/dependencies.d.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/dependencies.d.ts b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/dependencies.d.ts new file mode 100644 index 00000000..e311a2ba --- /dev/null +++ b/sandbox/testAppNevena/Front/node_modules/@schematics/angular/utility/dependencies.d.ts @@ -0,0 +1,23 @@ +/** + * @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.io/license + */ +import { Tree } from '@angular-devkit/schematics'; +export declare enum NodeDependencyType { + Default = "dependencies", + Dev = "devDependencies", + Peer = "peerDependencies", + Optional = "optionalDependencies" +} +export interface NodeDependency { + type: NodeDependencyType; + name: string; + version: string; + overwrite?: boolean; +} +export declare function addPackageJsonDependency(tree: Tree, dependency: NodeDependency, pkgJsonPath?: string): void; +export declare function removePackageJsonDependency(tree: Tree, name: string, pkgJsonPath?: string): void; +export declare function getPackageJsonDependency(tree: Tree, name: string, pkgJsonPath?: string): NodeDependency | null; |