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

Fix duplicate name for interface and function #23350

Merged
merged 2 commits into from
Jul 7, 2023

Conversation

ubugnu
Copy link
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
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
44 of 45 checks passed
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
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 patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants