fix(core): Attribute
decorator attributeName
is mandatory (#38131)
`Attribute` decorator has defined `attributeName` as optional but actually its mandatory and compiler throws an error if `attributeName` is undefined. Made `attributeName` mandatory in the `Attribute` decorator to reflect this functionality Fixes #32658 PR Close #38131
This commit is contained in:
@ -271,7 +271,7 @@ export interface Attribute {
|
||||
/**
|
||||
* The name of the attribute whose value can be injected.
|
||||
*/
|
||||
attributeName?: string;
|
||||
attributeName: string;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user