(value: T)
| 30 | } |
| 31 | |
| 32 | function tString<T: string>(value: T): TIrreducible<T> { |
| 33 | return t.irreducible(`'${value}'`, x => x === value); |
| 34 | } |
| 35 | |
| 36 | function tNumber<T: number>(value: T): TIrreducible<T> { |
| 37 | return t.irreducible(value.toString(), x => x === value); |
no outgoing calls
no test coverage detected