@breautek/storm
    Preparing search index...

    Type Alias TSerializableResponse<T>

    TSerializableResponse: { [k in keyof T]: TSupportedResponsePrimitives }

    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.

     interface MyInterface {...}
    type TMyInterface = TSerializableResponse<MyInterface>;

    OR

    type MyInterface = TSerializableResponse<{...}>;
    

    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.

    Type Parameters

    • T extends object