mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-05 16:11:33 +08:00
Try to fix typings again
This commit is contained in:
parent
9523755dd7
commit
e2864c8471
@ -1,6 +1,6 @@
|
||||
import { useArgTypes } from '@storybook/api';
|
||||
|
||||
export function getTitle(): () => string {
|
||||
export function getTitle(): string {
|
||||
const rows = useArgTypes();
|
||||
|
||||
const controlsCount = Object.values(rows).filter((argType) => argType?.control?.type).length;
|
||||
|
Loading…
x
Reference in New Issue
Block a user