Skip to content

Commit

Permalink
fix(qq): fix config schema, close #330
Browse files Browse the repository at this point in the history
  • Loading branch information
shigma committed Dec 24, 2024
1 parent 2c9aa14 commit 7f53075
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion adapters/qq/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@satorijs/adapter-qq",
"description": "QQ Adapter for Satorijs",
"version": "4.8.6",
"version": "4.9.1",
"type": "module",
"main": "lib/index.cjs",
"typings": "lib/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion adapters/qq/src/ws.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ export namespace WsClient {

export const Options: Schema<Options> = Schema.intersect([

Check failure on line 110 in adapters/qq/src/ws.ts

View workflow job for this annotation

GitHub Actions / build

Type 'Schema<WsClientConfig, WsClientConfig>' is not assignable to type 'Schema<Options>'.
Schema.object({
protocol: Schema.const('websocket').required(),
protocol: Schema.const('websocket'),

Check failure on line 112 in adapters/qq/src/ws.ts

View workflow job for this annotation

GitHub Actions / build

Object literal may only specify known properties, and 'protocol' does not exist in type '{ retryLazy?: unknown; retryTimes?: unknown; retryInterval?: unknown; }'.
}),
Adapter.WsClientConfig,
])
Expand Down

0 comments on commit 7f53075

Please sign in to comment.