UNPKG

typia

Version:

Superfast runtime validators with only one line

10 lines (9 loc) 270 B
export const _notationKeyCollision = ( first: string, second: string, destination: string, ): never => { throw new Error( `typia.notations cannot rename both ${JSON.stringify(first)} and ${JSON.stringify(second)} to ${JSON.stringify(destination)}.`, ); };