Enable Ivy in Angular compiler options
Closed this issue · 2 comments
grrenier commented
Hello @lagoshny,
Is there a way to enable Ivy in Angular compiler options? With Ivy enabled I know there is an error when we pass a type as a parameter to be able to create an object of that generic type, for example:
createObject(type: {new(): T;})
or the equivalent using arrow functions
createObject(type: new() => T)
Do you know how to solve this issue?
Thank you
lagoshny commented