Skip to content

Commit

Permalink
fix(common): fix incorrect state.user typings
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Mar 10, 2021
1 parent 2b78345 commit 84fe7e4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .mocharc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ module.exports = {
// 'packages/koishi-core/tests/*.spec.ts',
'packages/koishi-core/tests/command.spec.ts',
'packages/koishi-core/tests/context.spec.ts',
'packages/koishi-core/tests/help.spec.ts',
'packages/koishi-core/tests/hook.spec.ts',
'packages/koishi-core/tests/session.spec.ts',
'packages/koishi-utils/tests/*.spec.ts',
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-common/src/repeater.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ interface RepeatState {
content: string
repeated: boolean
times: number
users: Record<number, number>
users: Record<string, number>
}

type StateCallback = (state: RepeatState, session: Session) => void | string
Expand Down

0 comments on commit 84fe7e4

Please sign in to comment.