How do i properly write typings for generic
I have array which contains connected property class or separated property class. SeparetedProperty class needs generic of what type this property contains. But when i try to type it as unkown, because it can contain any type it throws error when i try to add property
i cant really provide playground cuz it have lot of dependincies


3 Replies
🙂
Can you send a playground link
it happens because of ExtractKeys<> returns a lot of keys but ConnectedStat is just one, but i dont really understand how to type array to contain every possible value