import {expectType} from 'tsd'; import type {IsInteger, PositiveInfinity} from '../index'; expectType({} as IsInteger<0>); expectType({} as IsInteger<1>); expectType({} as IsInteger<1.0>); // eslint-disable-line unicorn/no-zero-fractions expectType({} as IsInteger<1.5>); expectType({} as IsInteger<-1>); expectType({} as IsInteger); expectType({} as IsInteger<0o10>); expectType({} as IsInteger<1n>); expectType({} as IsInteger<0n>); expectType({} as IsInteger<0b10>); expectType({} as IsInteger<0x10>); expectType({} as IsInteger<1e+100>); expectType({} as IsInteger); expectType({} as IsInteger);