Feedback for /writing-stories/typescript docs page #24049
Replies: 31 comments 5 replies
-
/docs/7.4/react/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.4/react/writing-stories/typescript
Thank you so much for the TS support! |
Beta Was this translation helpful? Give feedback.
-
/docs/7.4/react/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.4/react/writing-stories/typescript
typescript for storybook |
Beta Was this translation helpful? Give feedback.
-
/docs/7.4/react/writing-stories/typescript
typescript for storybook |
Beta Was this translation helpful? Give feedback.
-
/docs/7.4/vue/writing-stories/typescript
Don't explain how to use without Typescript |
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
for every example need to be a typescript example |
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
After ready the improved type safety in storybook 7 blog article, it was my understanding that the best way to type stories was using the StoryObj instead of having the component in the type parameter. Is there a reason why the typescript docs always refer to StoryObj;? |
Beta Was this translation helpful? Give feedback.
-
/docs/7.5/react/writing-stories/typescript
In the "https://storybook.js.org/blog/improved-type-safety-in-storybook-7/" blog post, the blog suggest using StoryObj typeof meta instead of StoryObj typeof Button. This improves type safety when using args in the meta tag. Is there a reason why this documentation shows StoryObj typeof Button , instead of always using StoryObj typeof meta ? |
Beta Was this translation helpful? Give feedback.
-
/docs/7.6/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.6/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.6/writing-stories/typescript
what if I don't want to put args and only rely on render function. Compiler just isn't satisfied |
Beta Was this translation helpful? Give feedback.
-
/docs/7.6/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/7.6/writing-stories/typescript
These docs [ |
Beta Was this translation helpful? Give feedback.
-
/docs/8.0/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/8.0/writing-stories/typescript
|
Beta Was this translation helpful? Give feedback.
-
/docs/8.0/writing-stories/typescript
it's confusing |
Beta Was this translation helpful? Give feedback.
-
/docs/8.0/writing-stories/typescript
My story don't inherit of all types available in my package/ds. |
Beta Was this translation helpful? Give feedback.
-
/docs/8.0/writing-stories/typescript
hard to undersrand, smart is make simple codes, not hard |
Beta Was this translation helpful? Give feedback.
-
/docs/8.0/writing-stories/typescript
No examples of satisfies |
Beta Was this translation helpful? Give feedback.
-
/docs/8.0/writing-stories/typescript
No examples of satisfies |
Beta Was this translation helpful? Give feedback.
-
/docs/8.1/writing-stories/typescript
Article explains me all what i need |
Beta Was this translation helpful? Give feedback.
-
/docs/8.1/writing-stories/typescript
type PagePropsAndCustomArgs = React.ComponentProps & { footer?: string }; This is the line I never used before. Following everything from there resolved my issues. |
Beta Was this translation helpful? Give feedback.
-
/docs/writing-stories/typescript
Good example code |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
All reactions