|
|
@@ -2,13 +2,14 @@ import type { IUser } from '@growi/core';
|
|
|
import type { Request } from 'express';
|
|
|
import type { HydratedDocument } from 'mongoose';
|
|
|
|
|
|
+import type Crowi from '~/server/crowi';
|
|
|
+
|
|
|
|
|
|
export interface CrowiProperties {
|
|
|
|
|
|
user?: HydratedDocument<IUser>,
|
|
|
|
|
|
- // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
|
- crowi: any,
|
|
|
+ crowi: Crowi,
|
|
|
|
|
|
session: any,
|
|
|
|