Commit 749f52ed authored by nanahira's avatar nanahira

tmp fix type problem

parent 44037ba2
This diff is collapsed.
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
"dependencies": { "dependencies": {
"minato-decorators": "^2.1.0", "minato-decorators": "^2.1.0",
"rxjs": "^7.5.6", "rxjs": "^7.5.6",
"satori-decorators": "^1.0.14" "satori-decorators": "^1.0.15"
}, },
"jest": { "jest": {
"moduleFileExtensions": [ "moduleFileExtensions": [
...@@ -68,6 +68,6 @@ ...@@ -68,6 +68,6 @@
"testEnvironment": "node" "testEnvironment": "node"
}, },
"peerDependencies": { "peerDependencies": {
"koishi": "^4.9.4" "koishi": "^4.9.7"
} }
} }
...@@ -25,6 +25,8 @@ declare module 'satori-decorators' { ...@@ -25,6 +25,8 @@ declare module 'satori-decorators' {
} }
} }
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
export class KoishiRegistrar extends SatoriRegistrar<Context> { export class KoishiRegistrar extends SatoriRegistrar<Context> {
decorateCommandTransformer<A extends any[]>( decorateCommandTransformer<A extends any[]>(
transformer: CommandTransformer<A>, transformer: CommandTransformer<A>,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment