Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Object literal may only specify known properties, and '"args"' does not exist in type 'StoryProps' #196

Open
gzimbron opened this issue Aug 2, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@gzimbron
Copy link

gzimbron commented Aug 2, 2024

Hello, I'm using Storybook in a new project, and I'm getting this typescript error on vscode:

Object literal may only specify known properties, and '"args"' does not exist in type 'StoryProps'

CleanShot 2024-08-02 at 09 31 29

Dependencies versions:

	"@storybook/addon-essentials": "8.2.7",
    "@storybook/addon-interactions": "8.2.7",
    "@storybook/addon-links": "8.2.7",
    "@storybook/addon-styling-webpack": "^1.0.0",
    "@storybook/addon-svelte-csf": "^4.1.4",
    "@storybook/blocks": "8.2.7",
    "@storybook/svelte": "8.2.7",
    "@storybook/sveltekit": "8.2.7",
    "@storybook/test": "8.2.7",

I have another project, and this warning doesn't appear, versions in other project are:

		"@storybook/addon-essentials": "^7.6.16",
		"@storybook/addon-interactions": "^7.6.16",
		"@storybook/addon-links": "^7.6.16",
		"@storybook/addon-svelte-csf": "^4.0.0",
		"@storybook/blocks": "^7.6.16",
		"@storybook/svelte": "^7.6.16",
		"@storybook/sveltekit": "^7.6.16",
		"@storybook/testing-library": "^0.0.14-next.2",

Expected behavior

A clear and concise description of what you expected to happen.

Screenshots and/or logs

If applicable, add screenshots and/or logs to help explain your problem.

Environment

  • OS: MacOs
  • Node.js version: v20.16.0
  • NPM version: 10.8.1
@gzimbron gzimbron added the bug Something isn't working label Aug 2, 2024
@is-sematell
Copy link

Facing the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants