UNPKG

typia

Version:

Superfast runtime validators with only one line

1 lines 572 B
{"version":3,"file":"_notationKeyCollision.mjs","names":[],"sources":["../../src/internal/_notationKeyCollision.ts"],"sourcesContent":["export 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":";AAAA,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"}