(/** @type {string} */ val)
| 74 | return typeof val === "string"; |
| 75 | }, |
| 76 | print(/** @type {string} */ val) { |
| 77 | return `"${val |
| 78 | .replace(/\\/g, "/") |
| 79 | .replace(/"/g, '\\"') |
| 80 | .replace(/\r?\n/g, "\\n")}"`; |
| 81 | } |
| 82 | } |
| 83 | ] |
| 84 | }; |
nothing calls this directly
no test coverage detected