From b13ced295ff8aaa75fe00fec3ef9b4d48d252426 Mon Sep 17 00:00:00 2001 From: Kasper Peulen Date: Wed, 26 Jun 2024 17:14:21 +0200 Subject: [PATCH] Fix types to interfaces --- src/story.ts | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/src/story.ts b/src/story.ts index 1b0c5b9..2eaf9a5 100644 --- a/src/story.ts +++ b/src/story.ts @@ -1,3 +1,4 @@ +/* eslint-disable @typescript-eslint/no-empty-interface */ import type { RemoveIndexSignature, Simplify, UnionToIntersection } from 'type-fest'; import type { SBScalarType, SBType } from './SBType'; @@ -273,16 +274,12 @@ export interface StoryContext = StoryContext; +export interface StoryContextForLoaders + extends StoryContext {} /** @deprecated Use {@link StoryContext} instead. */ -export type PlayFunctionContext = StoryContext< - TRenderer, - TArgs ->; +export interface PlayFunctionContext + extends StoryContext {} export type StepLabel = string;