Skip to content

Commit

Permalink
Fix TS
Browse files Browse the repository at this point in the history
  • Loading branch information
kibertoad committed Jun 22, 2024
1 parent 624018f commit 3e05348
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion packages/core/lib/queues/AbstractQueueService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,6 @@ export abstract class AbstractQueueService<
messageTypeField: string
}) {
const messageSchemas = options.handlers.map((entry) => entry.schema)
// @ts-expect-error This should no longer be necessary in upcoming TypeScript updates, filter will narrow down the type
const messageDefinitions: CommonEventDefinition[] = options.handlers
.map((entry) => entry.definition)
.filter((entry) => entry !== undefined)
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-vitest": "0.4.1",
"prettier": "^3.2.5",
"typescript": "^5.4.5",
"typescript": "^5.5.2",
"vitest": "^1.6.0"
},
"homepage": "https://github.com/kibertoad/message-queue-toolkit",
Expand Down

0 comments on commit 3e05348

Please sign in to comment.