mirror of
https://github.com/storybookjs/storybook.git
synced 2025-04-09 00:19:13 +08:00
FIX typings
This commit is contained in:
parent
ce6f34b512
commit
43a8375b35
@ -4,7 +4,10 @@ import { IFrame } from './iframe';
|
||||
import { FramesRendererProps } from './utils/types';
|
||||
import { stringifyQueryParams } from './utils/stringifyQueryParams';
|
||||
|
||||
const getActive = (refId, storyId) => {
|
||||
const getActive = (
|
||||
refId: FramesRendererProps['refId'],
|
||||
storyId: FramesRendererProps['storyId']
|
||||
) => {
|
||||
if (storyId === '*') {
|
||||
return undefined;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user