Convert all remaining files to typescript.
This commit is contained in:
7
modules/menus/notifications/utils.ts
Normal file
7
modules/menus/notifications/utils.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
import { Notification } from "types/service/notifications";
|
||||
|
||||
const notifHasImg = (notif: Notification) => {
|
||||
return notif.image !== undefined && notif.image.length;
|
||||
};
|
||||
|
||||
export { notifHasImg };
|
||||
Reference in New Issue
Block a user