typescript-transform-paths: Declaration files paths not being transformed when using 'import type...'
I’ve been struggling with the generated declaration files paths not being transformed to relative paths and I was using i.e import type { Type } from '@/common/types'
.
I removed all import type {}
and replaced with the standard import { Type } from '@/common/types'
and it transformed correctly in the declaration files, so there seems to be a problem resolving the import type
syntax 🤔
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 17 (1 by maintainers)
Hi @nonara it’s still 4.8.4 as reported above. I’ll try to create an isolated repro for you today.
This issue has been resolved in v3.4!
@saqirmdevx Can you share your tsconfig.json configuration? What typescript and typescript-transform-paths versions are you using?