fix(ivy): inheriting injectable definition from undecorated class not working on IE10 in JIT mode (#34305)
The way definitions are added in JIT mode is through `Object.defineProperty`, but the problem is that in IE10 properties defined through `defineProperty` won't be inherited which means that inheriting injectable definitions no longer works. These changes add a workaround only for JIT mode where we define a fallback method for retrieving the definition. This isn't ideal, but it should only be required until v10 where we'll no longer support inheriting injectable definitions from undecorated classes. PR Close #34305
This commit is contained in:
@ -38,6 +38,9 @@
|
||||
{
|
||||
"name": "NG_PROV_DEF"
|
||||
},
|
||||
{
|
||||
"name": "NG_PROV_DEF_FALLBACK"
|
||||
},
|
||||
{
|
||||
"name": "NG_TEMP_TOKEN_PATH"
|
||||
},
|
||||
|
Reference in New Issue
Block a user