Skip to content

Commit

Permalink
chore(core): fix type error (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lipraty committed Oct 30, 2023
1 parent 5e1d783 commit acc22d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/source.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import { Context, Schema } from 'koishi'
import type { Inject } from 'cordis'

export abstract class ImageSource<Config extends ImageSource.Config = ImageSource.Config> {
static inject = ['booru']
static inject: string[] | Partial<Inject> = ['booru']

languages: string[] = []
source: string
Expand Down

0 comments on commit acc22d0

Please sign in to comment.