mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(compiler): expose member decorator identifiers (#63957)
Adds the member decorators to the map of exposed compiler symbols. PR Close #63957
This commit is contained in:
@@ -480,6 +480,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