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

Core: Remove unused and occluded types #16917

Merged
merged 2 commits into from
Dec 6, 2021
Merged

Conversation

tmeasday
Copy link
Member

@tmeasday tmeasday commented Dec 6, 2021

Issue: #16839

What I did

Removed two types that weren't exported (as they were overwritten by the export * from '@storybook/store') and weren't used internally.

How to test

I think if it builds it is OK :)

@nx-cloud
Copy link

nx-cloud bot commented Dec 6, 2021

Nx Cloud Report

CI ran the following commands for commit 54af77f. Click to see the status, the terminal output, and the build insights.

📂 See all runs for this branch

Status Command
#000000 nx run-many --target=prepare --all --parallel --max-parallel=15

Sent with 💌 from NxCloud.

Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

Build is failing:

src/preview/types.ts(1,25): error TS2305: Module '"../../../../node_modules/@storybook/client-api/dist/ts3.9"' has no exported member 'RenderContextWithoutStoryContext'.

@shilman shilman changed the title Remove unused and occluded types Core: Remove unused and occluded types Dec 6, 2021
Copy link
Member

@shilman shilman left a comment

Choose a reason for hiding this comment

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

LGTM!

@shilman shilman merged commit 245ed82 into next Dec 6, 2021
@shilman shilman deleted the 16839-fix-duplicate-types branch December 6, 2021 10:16
@shilman shilman added patch:yes Bugfix & documentation PR that need to be picked to main branch patch:done Patch/release PRs already cherry-picked to main/release branch labels Dec 6, 2021
shilman added a commit that referenced this pull request Dec 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug core 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 typescript
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants