From d80742fd7e4777ab545e87f02f90aa4cc9e53b35 Mon Sep 17 00:00:00 2001 From: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> Date: Wed, 19 Dec 2018 08:20:10 -0800 Subject: [PATCH] Trivial edit to storybook/add on-storyshots --- types/storybook__addon-storyshots/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/storybook__addon-storyshots/index.d.ts b/types/storybook__addon-storyshots/index.d.ts index dc1a2c5953..80e8894b29 100644 --- a/types/storybook__addon-storyshots/index.d.ts +++ b/types/storybook__addon-storyshots/index.d.ts @@ -14,13 +14,13 @@ export type Test = (options: { renderShallowTree: RenderTree; renderTree: RenderTree; snapshotFileName: string; -}) => void | undefined | Promise; +}) => undefined | void | Promise; export type RenderTree = ( story: StoryObject, context: StoryContext, options?: SnapshotOptions -) => void | undefined | Promise; +) => undefined | void | Promise; export interface SnapshotOptions { createNodeMock?: (element: any) => any;