KC's Workspace
    Preparing search index...

    Type Alias WithoutEnabled<T>

    WithoutEnabled: T extends WithEnabled<infer U> ? U : never

    Extracts the type T from WithEnabled<T>. If T is not wrapped in WithEnabled, it will return never.

    Type Parameters

    • T