Utility type wrap, useful if you have a concrete interface of TSupportedResponsePrimitives properties.
Use this to declare that your interface is Response Serializable.
NOTE: This actually will allow more than what is within the TSupportedResponsePrimitives union type.
TypeScript doesn't offer a way to properly restrict or infer the type.
Utility type wrap, useful if you have a concrete interface of TSupportedResponsePrimitives properties. Use this to declare that your interface is Response Serializable.
e.g.
OR
NOTE: This actually will allow more than what is within the
TSupportedResponsePrimitivesunion type. TypeScript doesn't offer a way to properly restrict or infer the type.