halo - v1.0.0
    Preparing search index...

    Type Alias LooseToStrict<T>

    LooseToStrict: T extends any ? string extends T ? never : T : never

    LooseToStrict is a utility type that converts a type T to a stricter version. It ensures that if T is a string, it will not be converted to never.

    Type Parameters

    • T