Currently ngtsc does not compile @Pipe. This has a side effect of not removing the @Pipe decorator. This adds a dummy DecoratorHandler that compiles @Pipe into an empty ngPipeDef. Eventually this will be replaced with a full implementation, but for now this solution allows compield code to be tree-shaken properly. PR Close #24677
15 lines
568 B
TypeScript
15 lines
568 B
TypeScript
/**
|
|
* @license
|
|
* Copyright Google Inc. 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
|
|
*/
|
|
|
|
export {ComponentDecoratorHandler} from './src/component';
|
|
export {DirectiveDecoratorHandler} from './src/directive';
|
|
export {InjectableDecoratorHandler} from './src/injectable';
|
|
export {NgModuleDecoratorHandler} from './src/ng_module';
|
|
export {PipeDecoratorHandler} from './src/pipe';
|
|
export {CompilationScope, SelectorScopeRegistry} from './src/selector_scope';
|