Type '|1' cannot be used as a property type in this context because '|1' is an 'Out' type parameter and the property is not ...