Library API
    Preparing search index...

    Type Alias ParseInt<T>

    ParseInt: T extends `${infer N extends number}` ? N : never
    🔍 Expanded Type Evaluation (Compiler API)
    type ParseInt<T> = T extends `${infer N extends number}` ? N : never

    Parses a string literal type into a numeric literal type

    Type Parameters

    • T