mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 13:00:19 +00:00
@storybook/addon-a11y: Deprecate checkA11y in favor of withA11y (#33627)
See https://github.com/storybooks/storybook/blob/f2b625bab05720c4c323af3e612e7d03adbd3b92/addons/a11y/src/index.js#L66-L70 and https://github.com/storybooks/storybook/blob/next/MIGRATION.md#addon-a11y-uses-parameters-decorator-renamed.
This commit is contained in:
committed by
Wesley Wigham
parent
9dedb3f3a5
commit
ec1e331213
+3
-2
@@ -1,4 +1,4 @@
|
||||
// Type definitions for @storybook/addon-a11y 3.3
|
||||
// Type definitions for @storybook/addon-a11y 5.0
|
||||
// Project: https://github.com/storybooks/storybook
|
||||
// Definitions by: HyunSeob <https://github.com/hyunseob>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
@@ -6,4 +6,5 @@
|
||||
|
||||
import { StoryDecorator } from '@storybook/react';
|
||||
|
||||
export const checkA11y: StoryDecorator;
|
||||
export const checkA11y: StoryDecorator; // Deprecated
|
||||
export const withA11y: StoryDecorator;
|
||||
|
||||
Reference in New Issue
Block a user