فهرست منبع

set Type for crowi

kaori 4 سال پیش
والد
کامیت
875e0eb0f6
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/app/src/server/service/notification.ts

+ 2 - 2
packages/app/src/server/service/notification.ts

@@ -1,4 +1,4 @@
-
+import Crowi from '../crowi';
 
 
 class NortificationService {
 class NortificationService {
 
 
@@ -7,7 +7,7 @@ class NortificationService {
   notificationEvent!: any;
   notificationEvent!: any;
 
 
 
 
-  constructor(crowi) {
+  constructor(crowi: Crowi) {
     this.crowi = crowi;
     this.crowi = crowi;
     this.notificationEvent = crowi.event('notification');
     this.notificationEvent = crowi.event('notification');