(x: any)
| 28 | |
| 29 | // tslint:disable-next-line:no-any |
| 30 | function transform(x: any): DeepMapResult { |
| 31 | if (x === null) { |
| 32 | return null; |
| 33 | } |
| 34 | if (typeof (x) === 'number') { |
| 35 | return {value: integerNames[x], recurse: false}; |
| 36 | } |
| 37 | |
| 38 | if (isIterable(x)) { |
| 39 | return {value: null, recurse: true}; |
| 40 | } else { |
| 41 | return {value: x, recurse: false}; |
| 42 | } |
| 43 | } |
| 44 | |
| 45 | // tslint:disable-next-line:no-any |
| 46 | function asyncTransform(x: any): DeepMapAsyncResult { |
no test coverage detected
searching dependent graphs…