PokéRogue
    Preparing search index...

    Type Alias NegativeInteger<T>

    NegativeInteger: Negative<Integer<T>>

    A negative (-∞ < x < 0) number that is an integer. Equivalent to Negative<Integer<T>>.

    You can't pass a bigint as they are already guaranteed to be integers, instead use Negative<T>.

    Use-case: Validating and documenting parameters.

    Type Parameters

    • T extends number