Skip to content

Commit

Permalink
fix: correctly infer work item payload type when work item is explici…
Browse files Browse the repository at this point in the history
…tly created
  • Loading branch information
retro committed Jan 31, 2024
1 parent 1608e6c commit e6bf1e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"build:main": "swc ./src -d ./build",
"clean": "rimraf build coverage nyc_output",
"type:dts": "tsc --emitDeclarationOnly --project tsconfig.build.json",
"type:check": "vitest typecheck",
"type:check": "vitest --typecheck.only",
"format": "prettier \"src/**/*.ts\" --write",
"format:check": "prettier \"src/**/*.ts\" --check",
"lint": "eslint src --ext .ts --fix",
Expand Down
2 changes: 1 addition & 1 deletion src/builder/TaskBuilder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -336,7 +336,7 @@ export class TaskBuilder<
TA,
JT,
ST,
P,
WorkItemBuilderP<W>,
TM,
WorkItemBuilderWIM<W>,
R | WorkItemBuilderR<W>,
Expand Down

0 comments on commit e6bf1e3

Please sign in to comment.