Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Jul 29, 2024
1 parent 3588460 commit 4e40ea6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions packages/trampoline/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ export type SyncTrampolineGeneratorFn<
TArg = TInitial,
TResult = TArg,
Thunk extends ThunkFn<TArg, TResult> = ThunkFn<TArg, TResult>,
> = TResult extends Promise<any>
? never
: (thunkFn: Thunk, initial: TInitial) => Generator<TResult, TResult, TResult>;
> =
TResult extends Promise<any>
? never
: (
thunkFn: Thunk,
initial: TInitial,
) => Generator<TResult, TResult, TResult>;

0 comments on commit 4e40ea6

Please sign in to comment.