refactor the interfaces #1117
Annotations
13 errors
build (16.x):
src/components/Tabs/Tabs.stories.tsx#L27
Type '{ tabsConfig: ({ label: string; content: Element; onClickTab: () => void; } | { label: string; content: Element; onClickTab?: undefined; })[]; defaultIndex: number; }' is not assignable to type 'TabsProps'.
|
build (16.x):
src/components/Toggle/Toggle.stories.tsx#L8
Type '{ size: "sm"; value: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
build (16.x):
src/components/Toggle/Toggle.stories.tsx#L10
Type '{ value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
build (16.x):
src/components/Toggle/Toggle.stories.tsx#L12
Type '{ size: "lg"; value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
build (16.x):
src/components/Toggle/Toggle.stories.tsx#L14
Type '{ value: string; disabled: true; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
build (16.x)
Process completed with exit code 2.
|
build (18.x)
The job was canceled because "_16_x" failed.
|
build (18.x):
src/components/Tabs/Tabs.stories.tsx#L27
Type '{ tabsConfig: ({ label: string; content: Element; onClickTab: () => void; } | { label: string; content: Element; onClickTab?: undefined; })[]; defaultIndex: number; }' is not assignable to type 'TabsProps'.
|
build (18.x):
src/components/Toggle/Toggle.stories.tsx#L8
Type '{ size: "sm"; value: string; onClick: () => void; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
build (18.x):
src/components/Toggle/Toggle.stories.tsx#L10
Type '{ value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
build (18.x):
src/components/Toggle/Toggle.stories.tsx#L12
Type '{ size: "lg"; value: string; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
build (18.x):
src/components/Toggle/Toggle.stories.tsx#L14
Type '{ value: string; disabled: true; }' is not assignable to type 'IntrinsicAttributes & ToggleProps'.
|
build (18.x)
Process completed with exit code 2.
|