UNPKG

esoftplay-chatting

Version:

chat module on esoftplay framework

19 lines (14 loc) 352 B
// useLibs // noPage import esp from "esoftplay/esp" export interface ChattingFirestoreReturn { init: (appName?: string, config?: any) => void } export default function m(): ChattingFirestoreReturn { const init = (appName?: string, config?: any) => { esp.mod("firestore/index")().init?.(config, appName) } return { init: init } }