{"version":3,"sources":["../src/background-color/interfaces/background-color.ts"],"sourcesContent":["import { Text } from '@editablejs/models'\nimport { BACKGROUND_COLOR_KEY } from '../constants'\n\nexport interface BackgroundColor extends Text {\n  [BACKGROUND_COLOR_KEY]: string\n}\n\nexport const BackgroundColor = {\n  isBackgroundColor: (value: any): value is BackgroundColor => {\n    return (\n      Text.isText(value) &&\n      BACKGROUND_COLOR_KEY in value &&\n      typeof value[BACKGROUND_COLOR_KEY] === 'string'\n    )\n  },\n}\n"],"mappings":";;;;;AAAA,SAAS,YAAY;AAOd,IAAM,kBAAkB;AAAA,EAC7B,mBAAmB,CAAC,UAAyC;AAC3D,WACE,KAAK,OAAO,KAAK,KACjB,wBAAwB,SACxB,OAAO,MAAM,0BAA0B;AAAA,EAE3C;AACF;","names":[]}