(currentQuote: '"' | "'" | null, ch: '"' | "'")
| 233 | } |
| 234 | |
| 235 | function updateQuoteState(currentQuote: '"' | "'" | null, ch: '"' | "'"): '"' | "'" | null { |
| 236 | if (!currentQuote) return ch; |
| 237 | return currentQuote === ch ? null : currentQuote; |
| 238 | } |
| 239 | |
| 240 | function unquote(value: string): string { |
| 241 | const trimmed = value.trim(); |
no outgoing calls
no test coverage detected
searching dependent graphs…