UNPKG

@progress/kendo-angular-schematics

Version:

Kendo UI Schematics for Angular

14 lines (13 loc) 943 B
/**----------------------------------------------------------------------------------------- * Copyright © 2025 Progress Software Corporation. All rights reserved. * Licensed under commercial license. See LICENSE.md in the project root for more information *-------------------------------------------------------------------------------------------*/ import { Rule, Tree } from "@angular-devkit/schematics"; import * as ts from '@schematics/angular/third_party/github.com/Microsoft/TypeScript/lib/typescript'; import type { DeclarationToNgModuleOptions } from "."; /** * The addDeclarationToNgModule and readIntoSourceFile are obtained from v13 of: * https://github.com/angular/angular-cli/blob/13.0.x/packages/schematics/angular/component/index.ts */ export declare function readIntoSourceFile(host: Tree, modulePath: string): ts.SourceFile; export declare function addDeclarationToNgModule(options: DeclarationToNgModuleOptions): Rule;