{"version":3,"file":"getLineAnnotationName.js","names":[],"sources":["../../src/utils/getLineAnnotationName.ts"],"sourcesContent":["import type { DiffLineAnnotation, LineAnnotation } from '../types';\n\nexport function getLineAnnotationName<T = undefined>(\n  annotation: LineAnnotation<T> | DiffLineAnnotation<T>\n): string {\n  return `annotation-${'side' in annotation ? `${annotation.side}-` : ''}${annotation.lineNumber}`;\n}\n"],"mappings":";AAEA,SAAgB,sBACd,YACQ;AACR,QAAO,cAAc,UAAU,aAAa,GAAG,WAAW,KAAK,KAAK,KAAK,WAAW"}