refactor(compiler): expose member decorator identifiers (#63904)

Adds the member decorators to the map of exposed compiler symbols.

PR Close #63904
This commit is contained in:
Kristiyan Kostadinov 2025-09-18 11:27:19 +02:00 committed by Jessica Janiuk
parent ffe94b3a89
commit ef0ff78de2
2 changed files with 17 additions and 0 deletions

View file

@ -477,6 +477,17 @@ export class Identifiers {
moduleName: CORE,
};
// Decorators
static inputDecorator: o.ExternalReference = {name: 'Input', moduleName: CORE};
static outputDecorator: o.ExternalReference = {name: 'Output', moduleName: CORE};
static viewChildDecorator: o.ExternalReference = {name: 'ViewChild', moduleName: CORE};
static viewChildrenDecorator: o.ExternalReference = {name: 'ViewChildren', moduleName: CORE};
static contentChildDecorator: o.ExternalReference = {name: 'ContentChild', moduleName: CORE};
static contentChildrenDecorator: o.ExternalReference = {
name: 'ContentChildren',
moduleName: CORE,
};
// type-checking
static InputSignalBrandWriteType = {name: 'ɵINPUT_SIGNAL_BRAND_WRITE_TYPE', moduleName: CORE};
static UnwrapDirectiveSignalInputs = {name: 'ɵUnwrapDirectiveSignalInputs', moduleName: CORE};

View file

@ -29,6 +29,12 @@ const INTERFACE_EXCEPTIONS = new Set<string>([
const AOT_ONLY = new Set<string>([
'ɵsetClassMetadata',
'ɵsetClassMetadataAsync',
'Input',
'Output',
'ViewChild',
'ViewChildren',
'ContentChild',
'ContentChildren',
// used in type-checking.
'ɵINPUT_SIGNAL_BRAND_WRITE_TYPE',