Skip to content

Conversation

@DeMoorJasper
Copy link
Member

@DeMoorJasper DeMoorJasper commented Aug 9, 2021

What kind of change does this PR introduce?

Currently the manager types suggest id is always defined, which is not the case for react-sandpack. This is a copy from #6021 but instead of only checking this in consumeCache this fixes the manager types to reflect what the state is in react-sandpack as there's some other places where this could cause issues.

Closes #6021

What is the current behavior?

Manager has an id property that is typed as stirng

What is the new behavior?

Manager has an id property that is typed as string, null or undefined

@lbogdan
Copy link
Contributor

lbogdan commented Aug 9, 2021

Build for latest commit 3d5a5c9 is at https://pr6027.build.csb.dev/s/new.

@codesandbox-ci
Copy link

codesandbox-ci bot commented Aug 9, 2021

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 3d5a5c9:

Sandbox Source
Notifications Test Configuration

@DeMoorJasper DeMoorJasper merged commit 5c8215e into master Aug 9, 2021
@DeMoorJasper DeMoorJasper deleted the fix/manager-id-typings branch August 9, 2021 08:05
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.

4 participants