From 0f3cc7fca8f29047755eac7064e5206349228606 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Fri, 21 Jun 2024 10:23:45 +0200 Subject: [PATCH] Simplify --- src/story.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/story.ts b/src/story.ts index b53665e..6ff7c29 100644 --- a/src/story.ts +++ b/src/story.ts @@ -275,7 +275,7 @@ export interface StoryContext; - mount: (...args: FunctionParameters) => Promise; + mount: TRenderer['mount']; } type FunctionParameters any> = T extends (...args: infer P) => any