interface TypedMath<T> {
    add: ((a, b) => T);
    divide: ((a, b) => T);
    isGTE: ((a, b) => boolean);
}

Type Parameters

  • T

Properties

Properties

add: ((a, b) => T)

Type declaration

    • (a, b): T
    • Parameters

      Returns T

divide: ((a, b) => T)

Type declaration

    • (a, b): T
    • Parameters

      • a: T
      • b: bigint

      Returns T

isGTE: ((a, b) => boolean)

Type declaration

    • (a, b): boolean
    • Parameters

      Returns boolean