diff --git a/index.d.ts b/index.d.ts index e069a6f..945befc 100644 --- a/index.d.ts +++ b/index.d.ts @@ -36,8 +36,9 @@ declare module 'egg' { client?: MongooseConfig, clients?: { [key: string]: MongooseConfig - } + }, + plugins?: Array<(schema: mongoose.Schema, opts?: any) => void> }; } -} \ No newline at end of file +}