/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
devtools/src/app/demo-app/todo/home/sample.pipe.ts
24 строки
526 B
Sheik Althaf
refactor(devtools): removed standalone: true (#58922)
27 ноя 2024, 20:09
27 ноя 2024, 20:09
96c90a5
Код
Авторство
О чём код?
/** * @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 {OnDestroy, Pipe, PipeTransform} from '@angular/core'; @Pipe({ name: 'sample', pure: false, }) export class SamplePipe implements PipeTransform, OnDestroy { transform(val: unknown) { return val; } ngOnDestroy(): void { // tslint:disable-next-line:no-console console.log('Destroying'); } }