(s: string)
| 9 | const ExampleError = new Error("Oh noes!") |
| 10 | |
| 11 | const parseInt = (s: string): number => { |
| 12 | const n = Number.parseInt(s) |
| 13 | if (Number.isNaN(n)) { |
| 14 | throw new Cause.IllegalArgumentException() |
| 15 | } |
| 16 | return n |
| 17 | } |
| 18 | |
| 19 | const fib = (n: number): number => { |
| 20 | if (n <= 1) { |
no outgoing calls
no test coverage detected