You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Transfer from issue in unplutin-typia by @asnaeb
This issue happens because typia compiler doesn't resolve path alias in tsconfig.
===
unplugin-typia version
0.6.18
What platform is your computer?
Darwin 23.5.0 arm64 arm
Describe the bug
When importing types from non relative paths, such types are parsed as any. Example of non relative paths are paths relative to tsconfig.compilerOptions.baseUrl or paths mapped from tsconfig.compilerOptions.paths.
Adding resolve.alias to vite.config.ts to map the paths in vite doesn't help.
Feature Request
Transfer from issue in unplutin-typia by @asnaeb
This issue happens because
typia
compiler doesn't resolve path alias in tsconfig.===
unplugin-typia version
0.6.18
What platform is your computer?
Darwin 23.5.0 arm64 arm
Describe the bug
When importing types from non relative paths, such types are parsed as
any
. Example of non relative paths are paths relative totsconfig.compilerOptions.baseUrl
or paths mapped fromtsconfig.compilerOptions.paths
.Adding
resolve.alias
tovite.config.ts
to map the paths in vite doesn't help.Reproduction
https://github.com/asnaeb/vite-unplugin-typia-repro
run with
npm run dev
and check the console.Validations
The text was updated successfully, but these errors were encountered: