Chore: Migrate methods/getSingleMessage to TS (#3700)
* migrate getSingleMessage to TS * minor tweak
This commit is contained in:
parent
71a50875d3
commit
7634297439
|
@ -1,6 +1,6 @@
|
|||
import RocketChat from '../rocketchat';
|
||||
|
||||
const getSingleMessage = messageId =>
|
||||
const getSingleMessage = (messageId: string) =>
|
||||
new Promise(async (resolve, reject) => {
|
||||
try {
|
||||
const result = await RocketChat.getSingleMessage(messageId);
|
Loading…
Reference in New Issue