You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
classModel{}classCollection<MextendsModel>{m: M;}classUserextendsModel{}classUsersextendsCollection<User>{}typeCollectionClass=typeofCollection;leta: CollectionClass=Users;// Error 'User' is not assignable to 'M'
If I provide the --noStrictGenericChecks flag, it compiles without any complaints. Can I correct this without using the flag?
I think #16368 broke this code for me:
If I provide the
--noStrictGenericChecksflag, it compiles without any complaints. Can I correct this without using the flag?