Skip to content

Commit

Permalink
chore: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
boneskull committed Aug 1, 2024
1 parent ced6099 commit 6f8332e
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 6f8332e

Please sign in to comment.