-
-
Notifications
You must be signed in to change notification settings - Fork 3.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
Since updating to Quasar 2.16.0 functions returning the any
type.
#17172
Comments
Fixed in Quasar v2.16.1 |
Impressive! Everything works as expected in 2.16.1! Thanks for your quick support!!! |
@rstoenescu
|
Reinstall from scratch pls. Seems like it's already got the old version of q/vite-plugin and not checking for the newer one. |
I already removed the node_modules and my pnpm-lock-yaml. |
I can confirm that the issue is resolved by testing it with both the dev and build commands |
This is weird. |
I'll enforce q/app-vite beta to install the newer q/vite-plugin (though it should by default). But working on improving some other stuff before making a new release. |
Thanks everyone for your feedback! |
@rstoenescu Node 10 is EOL since 2021-04-01 and Node 16 since 2023-09-11. Since quasar 2.16 got its package internal build system to ESM it might be useful to refactor the tsconfig-preset in app-vite. |
@yusufkandemir pls check the above comment from Martin |
Thank you. |
@rstoenescu |
@panmenghan can u show me the output of quasar info pls? |
And a reproduction repo would be nice |
@rstoenescu Install with Open |
@panmenghan
|
Better to use
In my case I also use the modern
leads to as example |
@MartinX3 @rstoenescu Change the value of But if quasar support all the The |
We'll improve this in the near future. Right now I just wanted to give a hint on where the problem is coming from. Did not mean that module + moduleResolution should only have that values. |
Are we talking about Quasar UI package or Quasar CLIs here? I can't access the repro you provided, so I can't tell if the problem you highlighted was with Quasar CLIs or Quasar UI @MartinX3 I've checked your proposal to change the tsconfig preset as written here
|
Addendum to my comment about Quasar UI tsconfig which confirms my point from TS handbook
If we used |
@IlCallo In my case I use a
And the
In my The project then gets compiled into a static page for access via a http server without node. I needed to switch to exactly these settings to avoid any error in the dev mode (node) or static mode on the webserver with some dependencies. So at the moment using these additional settings everything just runs fine. |
Discussed in #17170
Originally posted by MartinX3 May 6, 2024
I updated to Quasar 2.16.0 and @quasar/app-vite 2.0.0-beta.12.
Now eslint errors out because as example this variable has now the type
any
.I look at the code in my IDE and also hover over the function.
It says the return type is
number
.But eslint says
any
.Adding the variable type via my IDE also puts the
any
at it.And updating app-vite to beta 12 errors out with
The text was updated successfully, but these errors were encountered: