line_push/node_modules/@line/liff/dist/lib/logToTorimochi.d.ts
2022-07-21 03:28:35 +00:00

12 lines
446 B
TypeScript

/**
* logToTorimochi()
* A method for sending logs in liff-sdk.
* For example: collecting potential abuser events.
* Here we only pick out the function of sending data in torimochi instead of using complete torimochi.js.
* So we can avoid conflict with torimochi that is already on the LIFF App side.
* @export
* @param {string} msg
* @returns {void}
*/
export default function logToTorimochi(msg: string, hitCallback?: Function): void;