Skip to content

Add Cron module and Schedule.cron constructor #816

Add Cron module and Schedule.cron constructor

Add Cron module and Schedule.cron constructor #816

Triggered via pull request January 5, 2024 08:50
@fubhyfubhy
synchronize #1855
schedule-cron
Status Failure
Total duration 2m 4s
Artifacts

check.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Types: packages/effect/src/internal/schedule.ts#L428
Argument of type '(now: number, _: unknown, [initial, previous]: [initial: boolean, previous: [number, number, number]]) => Effect<never, never, [[false, number], number, ScheduleDecision]> | Effect<never, never, [...]>' is not assignable to parameter of type '(now: number, input: unknown, state: [initial: boolean, previous: [number, number, number]]) => Effect<never, never, readonly [[initial: boolean, previous: [number, number, number]], number, ScheduleDecision]>'.
Types: packages/effect/src/Schedule.ts#L418
Type '(expression: string) => Schedule.Schedule<never, unknown, number>' is not assignable to type '(expression: string) => Schedule<never, unknown, Date>'.
Types: packages/schema/src/TreeFormatter.ts#L5
Output file '/home/runner/work/effect/effect/packages/effect/build/src/Option.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/effect/src/Option.ts'.
Types: packages/schema/src/TreeFormatter.ts#L6
Output file '/home/runner/work/effect/effect/packages/effect/build/src/Predicate.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/effect/src/Predicate.ts'.
Types: packages/schema/src/TreeFormatter.ts#L7
Output file '/home/runner/work/effect/effect/packages/effect/build/src/ReadonlyArray.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/effect/src/ReadonlyArray.ts'.
Types: packages/schema/src/TreeFormatter.ts#L84
Parameter 'span' implicitly has an 'any' type.
Types: packages/schema/src/TreeFormatter.ts#L122
Parameter '_' implicitly has an 'any' type.
Types: packages/schema/src/TreeFormatter.ts#L122
Parameter 'value' implicitly has an 'any' type.
Types: packages/schema/src/TreeFormatter.ts#L144
Parameter 'annotation' implicitly has an 'any' type.
Types: packages/schema/src/ParseResult.ts#L5
Output file '/home/runner/work/effect/effect/packages/effect/build/src/Effect.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/effect/src/Effect.ts'.
Build: packages/effect/src/internal/schedule.ts#L428
Argument of type '(now: number, _: unknown, [initial, previous]: [initial: boolean, previous: [number, number, number]]) => Effect<never, never, [[false, number], number, ScheduleDecision]> | Effect<never, never, [...]>' is not assignable to parameter of type '(now: number, input: unknown, state: [initial: boolean, previous: [number, number, number]]) => Effect<never, never, readonly [[initial: boolean, previous: [number, number, number]], number, ScheduleDecision]>'.
Build: packages/effect/src/Schedule.ts#L418
Type '(expression: string) => Schedule.Schedule<never, unknown, number>' is not assignable to type '(expression: string) => Schedule<never, unknown, Date>'.
Build: packages/effect/src/internal/schedule.ts#L428
Argument of type '(now: number, _: unknown, [initial, previous]: [initial: boolean, previous: [number, number, number]]) => Effect<never, never, [[false, number], number, ScheduleDecision]> | Effect<never, never, [...]>' is not assignable to parameter of type '(now: number, input: unknown, state: [initial: boolean, previous: [number, number, number]]) => Effect<never, never, readonly [[initial: boolean, previous: [number, number, number]], number, ScheduleDecision]>'.
Build: packages/effect/src/Schedule.ts#L418
Type '(expression: string) => Schedule.Schedule<never, unknown, number>' is not assignable to type '(expression: string) => Schedule<never, unknown, Date>'.
Build: packages/schema/src/TreeFormatter.ts#L5
Output file '/home/runner/work/effect/effect/packages/effect/build/src/Option.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/effect/src/Option.ts'.
Build: packages/schema/src/TreeFormatter.ts#L6
Output file '/home/runner/work/effect/effect/packages/effect/build/src/Predicate.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/effect/src/Predicate.ts'.
Build: packages/schema/src/TreeFormatter.ts#L7
Output file '/home/runner/work/effect/effect/packages/effect/build/src/ReadonlyArray.d.ts' has not been built from source file '/home/runner/work/effect/effect/packages/effect/src/ReadonlyArray.ts'.
Build: packages/schema/src/TreeFormatter.ts#L84
Parameter 'span' implicitly has an 'any' type.
Build: packages/schema/src/TreeFormatter.ts#L122
Parameter '_' implicitly has an 'any' type.
Build: packages/schema/src/TreeFormatter.ts#L122
Parameter 'value' implicitly has an 'any' type.