Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 385 Bytes

File metadata and controls

13 lines (9 loc) · 385 Bytes

typelab / aliases / Infinity

type Infinity = 
  | PositiveInfinity
  | NegativeInfinity;

Represents positive or negative infinity in TypeScript as a constant value.

Not a real type for javascript built-in Infinity or Number.POSITIVE_INFINITY.

Not a real type for javascript built-in -Infinity or Number.NEGATIVE_INFINITY.