UNPKG

@schematics/angular

Version:
23 lines (22 loc) • 709 B
/** * @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 { Rule } from '@angular-devkit/schematics'; export interface DeclarationToNgModuleOptions { module?: string; path?: string; name: string; flat?: boolean; export?: boolean; type: string; typeSeparator?: '.' | '-'; /** Whether the type is part of the class name. Defaults to `true`. */ addTypeToClassName?: boolean; skipImport?: boolean; standalone?: boolean; } export declare function addDeclarationToNgModule(options: DeclarationToNgModuleOptions): Rule;