Skip to content

Commit

Permalink
[addon-a11y] Export types of params
Browse files Browse the repository at this point in the history
In order to match addon-a11y's options in our automated a11y testing suite, I'd like to use the same types.

Workaround:

```ts
import type {A11yParameters} from '@storybook/addon-a11y/dist/ts3.9/params';
```

Not sure my PR shows the correct way to do this, or if there are other existing workarounds – I'd appreciate some advice!
  • Loading branch information
kaelig committed Sep 22, 2021
1 parent 2f10e35 commit 797b7df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions addons/a11y/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import dedent from 'ts-dedent';

export { PARAM_KEY } from './constants';
export * from './highlight';
export * from './params';

if (module && module.hot && module.hot.decline) {
module.hot.decline();
Expand Down

0 comments on commit 797b7df

Please sign in to comment.