-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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: IonModal not working on Typescript #23846
Comments
Thanks for the issue. Your import here looks incorrect. It should be:
Can you try that and let me know if it resolves the issue? If it still does not fix the issue, please reproduce this in an Ionic starter app and provide a link to the repo. |
|
Thanks! Can you try this dev build and let me know if it resolves the issue?
|
Yup working now |
Thanks for the issue. This has been resolved via #23847, and a fix will be available in an upcoming release of Ionic Framework. |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
Prequisites
Ionic Framework Version
Current Behavior
When importing the code below Visual Studio will not compile and will give me an error
Failed to compile.
Expected Behavior
In order to use any functionality from Ion Modal using typescript, compiling the project should not fail
Steps to Reproduce
Copy paste the code below
Code Reproduction URL
No response
Ionic Info
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: