Other context you think may be relevant (JS flavor, OS, etc.):
🧑💻 Repro
const props = {} as { hex: `0x${string}`, complex: "object", toGetFormatter: ["to print this", "on multiple lines"], soWeGetAString: "surrounded by backticks", };
// This will output the props type as a multi-line string (i.e. with backticks) and the type of `hex` will not be properly escaped,
// leading to syntax errors in following test runs.
attest(props).type.toString.snap();
Report a bug
🔎 Search Terms
type snap
🧩 Context
"@ark/util": "0.1.2"
"typescript": "5.4.2"
🧑💻 Repro