mirror of
https://github.com/angular/angular
synced 2026-05-24 09:28:37 +00: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:
parent
ffe94b3a89
commit
ef0ff78de2
2 changed files with 17 additions and 0 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Reference in a new issue