idnumbers
    Preparing search index...

    Type Alias ParsedInfoFor<C>

    ParsedInfoFor: C extends string
        ? [ResolveCountryCode<C>] extends [never]
            ? ParsedInfo
            : ParseResultMap[ResolveCountryCode<C> & keyof ParseResultMap]
        : never

    The parse result type for a country code: e.g. ParsedInfoFor<'tw'> is Taiwan's. Falls back to ParsedInfo for a code that is not a built-in literal, such as a string variable or a custom country.

    Type Parameters

    • C extends string