(content: string, key: string, newValue: string)
| 179 | return pairs[0]; |
| 180 | } |
| 181 | export function replaceArrayValueInTsManifest(content: string, key: string, newValue: string): string { |
| 182 | const [startIndex, endIndex] = findArrayIndicesTsManifest(content, key); |
| 183 | return content.slice(0, startIndex) + newValue + content.slice(endIndex + 1); |
| 184 | } |
| 185 | export function extractArrayValueFromTsManifest(content: string, key: string): string | null { |
| 186 | const [startIndex, endIndex] = findArrayIndicesTsManifest(content, key); |
| 187 | return content.slice(startIndex, endIndex + 1); |
no test coverage detected