[IMP] mail: add missing type def
closes odoo/odoo#127868 Signed-off-by: Matthieu Stockbauer (tsm) <tsm@odoo.com>
This commit is contained in:
@@ -238,6 +238,7 @@ export function useScrollSnapshot(refName, { onWillPatch: p_onWillPatch, onPatch
|
||||
*/
|
||||
export function useMessageHighlight(duration = 2000) {
|
||||
let timeout;
|
||||
/** @type {import("@mail/core/common/thread_service").ThreadService} */
|
||||
const threadService = useService("mail.thread");
|
||||
const state = useState({
|
||||
async highlightMessage(msgId, thread) {
|
||||
|
||||
Reference in New Issue
Block a user