Skip to content

Commit

Permalink
fix: default type param types
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonkuhrt committed Jun 26, 2021
1 parent fc63ddf commit 20efa5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ export type AfterCaseCallback<
> = (context: AfterCaseContext<C, P, ReturnedValue>) => MaybePromise<void>

export type AfterCaseContext<
C extends BaseContext = Record<string, never>,
P extends BaseParameters = Record<string, never>,
C extends BaseContext = BaseContext,
P extends BaseParameters = BaseParameters,
ReturnValue = unknown
> = C & {
$info: CaseResult<P, ReturnValue>
Expand Down

0 comments on commit 20efa5d

Please sign in to comment.