Skip to content

Commit

Permalink
Merge pull request #28887 from storybookjs/norbert/fix-28883
Browse files Browse the repository at this point in the history
Test: Fix #28883
  • Loading branch information
ndelangen authored Aug 15, 2024
2 parents 2b63fe5 + 77e6044 commit 6245975
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 6245975

Please sign in to comment.