Explorar el Código

set Type for crowi

kaori hace 4 años
padre
commit
875e0eb0f6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 {
 
@@ -7,7 +7,7 @@ class NortificationService {
   notificationEvent!: any;
 
 
-  constructor(crowi) {
+  constructor(crowi: Crowi) {
     this.crowi = crowi;
     this.notificationEvent = crowi.event('notification');