Left-hand side
Right-hand side
string | number | boolean
import {N} from 'ts-toolbelt'
type test0 = N.Sub<'2', '10'> // '-8'
type test1 = N.Sub<'0', '40'> // '-40'
type test2 = N.Sub<'0', '40', 's'> // '-40'
type test3 = N.Sub<'0', '40', 'n'> // -40
type test4 = N.Sub<'-20', '40', 's'> // string
type test5 = N.Sub<'-20', '40', 'n'> // number
Subtract a [[Number]] from another one