Skip to content

Commit

Permalink
apply fix for #28883
Browse files Browse the repository at this point in the history
  • Loading branch information
ndelangen committed Aug 15, 2024
1 parent 2b63fe5 commit 77e6044
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/lib/test/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import type { BoundFunctions } from '@testing-library/dom';

import type { LoaderFunction } from '@storybook/csf';
import { global } from '@storybook/global';
import { instrument } from '@storybook/instrumenter';
Expand All @@ -17,7 +19,7 @@ import { type queries, within } from './testing-library';

export * from './spy';

type Queries = ReturnType<typeof within<typeof queries>>;
type Queries = BoundFunctions<typeof queries>;

declare module '@storybook/csf' {
interface Canvas extends Queries {}
Expand Down

0 comments on commit 77e6044

Please sign in to comment.