Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 1.36 KB

File metadata and controls

12 lines (8 loc) · 1.36 KB

MinusOne medium #math

by Mustafo Faiz @fayzzzm

Take the Challenge    简体中文

Given a number (always positive) as a type. Your type should return the number decreased by one.

For example:

type Zero = MinusOne<1> // 0
type FiftyFour = MinusOne<55> // 54

Back Share your Solutions Check out Solutions