{"version":3,"file":"_notationKeyCollision.mjs","names":[],"sources":["../../src/internal/_notationKeyCollision.ts"],"sourcesContent":["/**\n * Throw the error for two keys that rename to the same destination.\n *\n * @evidence contracts/common.md#principled-implementation The function throws an error that names the two source keys and the destination that they both map to, so callers can identify the conflicting input keys regardless of whether they came from a declared type or an untyped value.\n * @evidence contracts/common.md#clear-and-simple-design One throw with a typed `never` result.\n * @evidence contracts/common.md#prohibited-implementation-shortcuts The collision is surfaced and not repaired.\n * @evidence contracts/common.md#meaningful-documentation A comment states the message content.\n */\nexport const _notationKeyCollision = (\n  first: string,\n  second: string,\n  destination: string,\n): never => {\n  throw new Error(\n    `typia.notations cannot rename both ${JSON.stringify(first)} and ${JSON.stringify(second)} to ${JSON.stringify(destination)}.`,\n  );\n};\n"],"mappings":";;;;;;;;;AAQA,MAAa,yBACX,OACA,QACA,gBACU;CACV,MAAM,IAAI,MACR,sCAAsC,KAAK,UAAU,KAAK,EAAE,OAAO,KAAK,UAAU,MAAM,EAAE,MAAM,KAAK,UAAU,WAAW,EAAE,EAC9H;AACF"}