-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
"Types" import dependency error from v4.21.0 to v5.0.0 #5993
Comments
Same situation here. |
This guy is also facing the same problem. |
We've gotten rid of some "extra" types that were in the js repository, those are now in @formio/deprecated-types - however, the errors that you've posted have to do with the type aliasing in @formio/core. We use aliases for imports, but those should be resolved by However, I'm not seeing any errors related to those deprecated types in what you've shared - can you give us some steps to reproduce so we can see them on our end? |
Not sure about @FrozeenHub but on my end I only have these 2 related to 'deprecated-types'
![]() |
On my side i haven't gotten any error on deprecated-types since i've used
|
We are aware of this issue with "core" as seen @ #5715. We have created a ticket and should be prioritizing it very soon. |
Should be fixed with formio/core#221 |
Describe the bug
A clear and concise description of what the bug is.
I am upgrading an Angular project from 17 to 18. It was already using Formio, which was configured with @formio/angular v7.0.0 and formiojs v4.21.0. I have upgraded the project to 18 and updated @formio/angular to v8.0.0 and also installed @formio/js v5.0.0. However, when I am updating the import statements to the new namespace, I am unable to find these imports:
import { ExtendedComponentSchema (looks like moved to @formio/angular) , BuilderInfo, ValidateOptions } from '@formio/js';
On investigation, these were part of the formiojs until v5.0.0-m.3, under the types->components->schema.d.ts, but they do not seem to be present in the new @formio/js namspace v5.0.0. I have also tried deleting the formiojs, but does not seem to change anything, currently getting lot of node_module issues, possibly due to this, hence I want to understand it further, as I am not able to build the app currently.
Could I kindly suggest which package/version or approach to use to overcome this please?
Version/Branch
What release version or branch are you experiencing the behavior
v5.0.0
Expected behavior
Replacing the formiojs namespace with the new namespace @formio/js, to resolve all import dependencies.
Screenshots
If applicable, add screenshots to help explain your problem.
The text was updated successfully, but these errors were encountered: