mirror of
https://github.com/FlipsideCrypto/DefinitelyTyped.git
synced 2026-02-06 10:56:53 +00:00
[@storybook/addon-a11y] remove typings provided by package directly (#37358)
This commit is contained in:
parent
467ae78f50
commit
d27c04cfc5
@ -3348,6 +3348,12 @@
|
||||
"sourceRepoURL": "https://servicestack.net/",
|
||||
"asOfVersion": "0.1.5"
|
||||
},
|
||||
{
|
||||
"libraryName": "@storybook/addon-a11y",
|
||||
"typingsPackageName": "storybook__addon-a11y",
|
||||
"sourceRepoURL": "https://github.com/storybooks/storybook",
|
||||
"asOfVersion": "5.1.1"
|
||||
},
|
||||
{
|
||||
"libraryName": "@storybook/addon-notes",
|
||||
"typingsPackageName": "storybook__addon-notes",
|
||||
|
||||
10
types/storybook__addon-a11y/index.d.ts
vendored
10
types/storybook__addon-a11y/index.d.ts
vendored
@ -1,10 +0,0 @@
|
||||
// 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
|
||||
// TypeScript Version: 2.8
|
||||
|
||||
import { StoryDecorator } from '@storybook/react';
|
||||
|
||||
export const checkA11y: StoryDecorator; // Deprecated
|
||||
export const withA11y: StoryDecorator;
|
||||
@ -1,11 +0,0 @@
|
||||
import * as React from 'react';
|
||||
import { storiesOf } from '@storybook/react';
|
||||
import { checkA11y } from '@storybook/addon-a11y';
|
||||
|
||||
storiesOf('button', module)
|
||||
.addDecorator(checkA11y)
|
||||
.add('Accessible', () => (
|
||||
<button>
|
||||
Accessible button
|
||||
</button>
|
||||
));
|
||||
@ -1,32 +0,0 @@
|
||||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": true,
|
||||
"strictFunctionTypes": true,
|
||||
"baseUrl": "../",
|
||||
"jsx": "react",
|
||||
"typeRoots": [
|
||||
"../"
|
||||
],
|
||||
"paths": {
|
||||
"@storybook/addon-a11y": [
|
||||
"storybook__addon-a11y"
|
||||
],
|
||||
"@storybook/react": [
|
||||
"storybook__react"
|
||||
]
|
||||
},
|
||||
"types": [],
|
||||
"noEmit": true,
|
||||
"forceConsistentCasingInFileNames": true
|
||||
},
|
||||
"files": [
|
||||
"index.d.ts",
|
||||
"storybook__addon-a11y-tests.tsx"
|
||||
]
|
||||
}
|
||||
@ -1 +0,0 @@
|
||||
{ "extends": "dtslint/dt.json" }
|
||||
Loading…
Reference in New Issue
Block a user