Skip to content

Commit

Permalink
use mongo tables
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Mar 18, 2021
1 parent 3417faa commit 957b5dc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/plugin-status/server/mongo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import type MongoDatabase from 'koishi-plugin-mongo'
import { RECENT_LENGTH, StatRecord, Synchronizer } from './stats'

const logger = new Logger('status')
declare module 'koishi-core' {

declare module 'koishi-plugin-mongo' {
interface Tables {
'plugin-status': any
}
Expand Down

0 comments on commit 957b5dc

Please sign in to comment.