chore(tsickle): add @Annotation annotations
This lets users continue using runtime-sideeffect Decorators if they choose, only down-leveling the marked ones to Annotations. Also remove the "skipTemplateCodegen" option, which is no longer needed since Angular compiles with tsc-wrapped rather than ngc. The former doesn't include any codegen.
This commit is contained in:
@ -24,9 +24,9 @@ export function propDecorator(value: any /** TODO #9100 */) {
|
||||
return new PropDecoratorMeta(value);
|
||||
}
|
||||
|
||||
export var ClassDecorator = makeDecorator(ClassDecoratorMeta);
|
||||
export var ParamDecorator = makeParamDecorator(ParamDecoratorMeta);
|
||||
export var PropDecorator = makePropDecorator(PropDecoratorMeta);
|
||||
/** @Annotation */ export var ClassDecorator = makeDecorator(ClassDecoratorMeta);
|
||||
/** @Annotation */ export var ParamDecorator = makeParamDecorator(ParamDecoratorMeta);
|
||||
/** @Annotation */ export var PropDecorator = makePropDecorator(PropDecoratorMeta);
|
||||
|
||||
// used only in Dart
|
||||
export class HasGetterAndSetterDecorators {}
|
||||
|
Reference in New Issue
Block a user