(value)
| 7 | const EXPO_DIR = Directories.getExpoRepositoryRootDir(); |
| 8 | |
| 9 | function formatJavaType(value) { |
| 10 | if (value == null) { |
| 11 | return 'String'; |
| 12 | } else if (typeof value === 'string') { |
| 13 | return 'String'; |
| 14 | } else if (typeof value === 'number') { |
| 15 | return 'int'; |
| 16 | } |
| 17 | throw new Error(`Unsupported literal value: ${value}`); |
| 18 | } |
| 19 | |
| 20 | function chunkString(s: string, len: number) { |
| 21 | const size = Math.ceil(s.length / len); |
no outgoing calls
no test coverage detected
searching dependent graphs…