Skip to content

chore(banner): export banner override types#5055

Merged
chasestarr merged 8 commits intouber:masterfrom
austingreco:agreco/banner-override-type
Aug 11, 2022
Merged

chore(banner): export banner override types#5055
chasestarr merged 8 commits intouber:masterfrom
austingreco:agreco/banner-override-type

Conversation

@austingreco
Copy link
Contributor

Description

When trying to add typing for banner overrides, I found the types not exported like other components:

Error ┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈┈ src/components/common/base-overrides/banner.js:4:65

Cannot import OverridesT because there is no OverridesT export in baseui/banner. [missing-export]

Scope

Patch

@codesandbox-ci
Copy link

codesandbox-ci bot commented Jul 21, 2022

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit e8e6266:

Sandbox Source
Basic usage Configuration

type?: ArtworkTypeT,
|};

export type OverridesT = {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please maintain the exact pipes? https://flow.org/en/docs/types/objects/#toc-exact-object-types

Copy link
Contributor Author

Choose a reason for hiding this comment

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

👍 updated

@austingreco austingreco force-pushed the agreco/banner-override-type branch from 05ec89c to cc3dafb Compare July 22, 2022 19:40
@austingreco austingreco force-pushed the agreco/banner-override-type branch from abcf54c to 39289a4 Compare July 22, 2022 21:00
@chasestarr chasestarr merged commit 20f5e2f into uber:master Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants