/
githubmirror
/
angular-cli
Обзор
Документация
Войти
/
githubmirror
/
angular-cli
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/angular_devkit/schematics/tools/file-system-engine-host/file-tasks/factory.ts
20 строк
537 B
Charles Lyding
test(@angular-devkit/schematics): add explicit return types for isolated declarations
20 янв 2026, 20:36
20 янв 2026, 20:36
7bbcb7f
Код
Авторство
О чём код?
/** * @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 */ // tslint:disable-next-line:no-implicit-dependencies import { SchematicContext, Tree } from '@angular-devkit/schematics'; export default function () { return (_: Tree, context: SchematicContext): void => { context.addTask({ toConfiguration() { return { name: 'file-tasks/file-task.js' }; }, }); }; }