Skip to content

Commit 4459465

Browse files
hanslalexeagle
authored andcommitted
refactor(@angular-devkit/core): set JobStrategy type arguments default
1 parent 988835d commit 4459465

File tree

1 file changed

+5
-1
lines changed
  • packages/angular_devkit/core/src/experimental/jobs

1 file changed

+5
-1
lines changed

packages/angular_devkit/core/src/experimental/jobs/strategy.ts

+5-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,11 @@ const stableStringify = require('fast-json-stable-stringify');
2020

2121
export namespace strategy {
2222

23-
export type JobStrategy<A extends JsonValue, I extends JsonValue, O extends JsonValue> = (
23+
export type JobStrategy<
24+
A extends JsonValue = JsonValue,
25+
I extends JsonValue = JsonValue,
26+
O extends JsonValue = JsonValue,
27+
> = (
2428
handler: JobHandler<A, I, O>,
2529
options?: Partial<Readonly<JobDescription>>,
2630
) => JobHandler<A, I, O>;

0 commit comments

Comments
 (0)