Skip to content

Fix duplicate name for interface and function#23350

Merged
jonniebigodes merged 2 commits into
storybookjs:nextfrom
ubugnu:patch-1
Jul 7, 2023
Merged

Fix duplicate name for interface and function#23350
jonniebigodes merged 2 commits into
storybookjs:nextfrom
ubugnu:patch-1

Conversation

@ubugnu
Copy link
Copy Markdown
Contributor

@ubugnu ubugnu commented Jul 7, 2023

a function can't have the same name as an interface, in addition to that, DocumentScreen is imported and used as a component and not as an interface in other files.

What I did

I fixed a typescript error

How to test

  1. Open the file in an editor

a function can't have the same name as an interface, in addition to that, DocumentScreen is imported and used as a component and not as an interface in other files.
@jonniebigodes jonniebigodes self-assigned this Jul 7, 2023
@jonniebigodes jonniebigodes added documentation patch:yes Bugfix & documentation PR that need to be picked to main branch labels Jul 7, 2023
Copy link
Copy Markdown
Contributor

@jonniebigodes jonniebigodes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ubugnu thanks for taking the time to put together this pull request and help us improve our documentation by catching this small but rather important typo. Appreciate it 🙏 . I've checked it and will merge it once the checklist clears.

Hope you have a fantastic weekend.

Stay safe

@jonniebigodes jonniebigodes merged commit 33b7443 into storybookjs:next Jul 7, 2023
JReinhold pushed a commit that referenced this pull request Jul 7, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
JReinhold pushed a commit that referenced this pull request Jul 8, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
@github-actions github-actions Bot mentioned this pull request Jul 10, 2023
8 tasks
JReinhold pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
JReinhold pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
JReinhold pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
JReinhold pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
JReinhold pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 10, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 11, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 12, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 12, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
storybook-bot pushed a commit that referenced this pull request Jul 12, 2023
Fix duplicate name for interface and function

(cherry picked from commit 33b7443)
@github-actions github-actions Bot added the patch:done Patch/release PRs already cherry-picked to main/release branch label Jul 12, 2023
@ndelangen ndelangen removed the patch:yes Bugfix & documentation PR that need to be picked to main branch label Oct 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation patch:done Patch/release PRs already cherry-picked to main/release branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants