UNPKG

vuex-easy-firestore

Version:

Easy coupling of firestore and a vuex module. 2-way sync with 0 boilerplate!

10 lines (9 loc) 291 B
/** * execute Error() based on an error id string * * @export * @param {string} errorId the error id * @param {any} [error] an actual error from an async request or something * @returns {string} the error id */ export default function (errorId: string, error?: any): string;