ls!' is not a valid constraint. A type used as a constraint must be an interface, a non-sealed class or a type parameter. ...