From 6f8332ef542f1441e2dfcb64ae976d6ed1776763 Mon Sep 17 00:00:00 2001 From: Christopher Hiller Date: Mon, 29 Jul 2024 16:26:52 -0700 Subject: [PATCH] chore: lint --- packages/trampoline/src/types.ts | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/trampoline/src/types.ts b/packages/trampoline/src/types.ts index 1e7234c32d..0f275b575b 100644 --- a/packages/trampoline/src/types.ts +++ b/packages/trampoline/src/types.ts @@ -15,6 +15,10 @@ export type SyncTrampolineGeneratorFn< TArg = TInitial, TResult = TArg, Thunk extends ThunkFn = ThunkFn, -> = TResult extends Promise - ? never - : (thunkFn: Thunk, initial: TInitial) => Generator; +> = + TResult extends Promise + ? never + : ( + thunkFn: Thunk, + initial: TInitial, + ) => Generator;