PokéRogue
    Preparing search index...

    Type Alias Unstringify<S>

    Unstringify: S extends Stringify<infer O extends Exclude<Stringable, string>>
        ? O
        : S extends `${infer U extends Exclude<Stringable, string>}` ? U : S

    Convert a stringified type to its un-stringified counterpart. Non-string portions of a type are left as is.

    Type Parameters

    • S

      The type to unwrap