-
-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
[Bug]: Cannot find name 'PromiseWithResolvers' #28527
Comments
To resolve the issue, import import { PromiseWithResolvers } from '@storybook/core/types'; This should be placed alongside other imports from References/code/core/src/preview-api/modules/store/csf/portable-stories.ts
|
Hello I have the same issue on my side with the 8.2.1...
"devDependencies": { |
Even if I come back to the 8.1.11 Story book version, it is still the v8.2.x @storybook/preview-api version wich is installed by NPM ... and in my node module, there is no dist folder regarding this version. |
@kasperpeulen is working on a fix. We will try to release a hotfix soon! |
Great ! thank you in advance ! |
Adding |
Describe the bug
A reference to
PromiseWithResolvers
was introduced by #28383That type is not imported anywhere in that file and my library (using react) doesn't compile because of it.
Reproduction link
N/A
Reproduction steps
No response
System
Additional context
No response
The text was updated successfully, but these errors were encountered: