mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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:
committed by
Jessica Janiuk
parent
ffe94b3a89
commit
ef0ff78de2
@@ -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};
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user