Skip to content

Commit

Permalink
Merge pull request #17 from NickMcBurney/storybook-6.4.x
Browse files Browse the repository at this point in the history
upgrading storybook to 6.4.x
  • Loading branch information
NickMcBurney committed Dec 6, 2021
2 parents fba7b7f + efdbec8 commit 37c860c
Show file tree
Hide file tree
Showing 3 changed files with 712 additions and 662 deletions.
6 changes: 3 additions & 3 deletions package.json
Expand Up @@ -46,9 +46,9 @@
"@babel/core": "^7.12.3",
"@babel/preset-env": "^7.12.1",
"@babel/preset-typescript": "^7.13.0",
"@storybook/addon-essentials": "^6.3.12",
"@storybook/addons": "^6.3.12",
"@storybook/vue3": "^6.3.12",
"@storybook/addon-essentials": "^6.4.3",
"@storybook/addons": "^6.4.3",
"@storybook/vue3": "^6.4.3",
"auto": "^10.3.0",
"babel-loader": "^8.1.0",
"concurrently": "^6.2.0",
Expand Down
4 changes: 2 additions & 2 deletions src/withVueRouter.ts
@@ -1,7 +1,7 @@

import { app } from "@storybook/vue3";
import { makeDecorator } from "@storybook/addons";
import { StoryFn, StoryContext } from "@storybook/addons/dist/ts3.9/types";
import { LegacyStoryFn, StoryContext } from "@storybook/addons/dist/ts3.9/types";

import {
createRouter,
Expand Down Expand Up @@ -70,7 +70,7 @@ export const withVueRouter = (
name: 'withVueRouter',
parameterName: 'withVueRouter',

wrapper: (storyFn: StoryFn, context: StoryContext) => {
wrapper: (storyFn: LegacyStoryFn, context: StoryContext) => {
/* setup router var */
let router

Expand Down

0 comments on commit 37c860c

Please sign in to comment.