{"version":3,"file":"useStrictInject.mjs","sources":["../../../../src/composables/useStrictInject.ts"],"sourcesContent":["import { inject, InjectionKey } from 'vue'\n\nexport const useStrictInject = <T>(injectionSymbol: InjectionKey<T>, errorMessage: string): T => {\n  const strictInjection = inject<T>(injectionSymbol)\n\n  if (!strictInjection) {\n    throw new Error(errorMessage)\n  }\n\n  return strictInjection\n}\n"],"names":[],"mappings":";AAEa,MAAA,kBAAkB,CAAI,iBAAkC,iBAA4B;AACzF,QAAA,kBAAkB,OAAU,eAAe;AAEjD,MAAI,CAAC,iBAAiB;AACd,UAAA,IAAI,MAAM,YAAY;AAAA,EAC9B;AAEO,SAAA;AACT;"}