FIX typings

This commit is contained in:
Norbert de Langen 2020-04-16 14:14:40 +02:00
parent ce6f34b512
commit 43a8375b35
No known key found for this signature in database
GPG Key ID: 976651DA156C2825

View File

@ -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;
}