declare global {
const foo : typeof import('./core/services/foo')['default']
}
my except result
declare global {
const foo : typeof import('@/core/services/foo')['default']
}
I want to append path alias the "/core/service/foo". due to this limitation, auto imported "foo" fil is not worked on components folder or other folder.
I can modify the imported file path in unplugin-vue-component package by using "importPathTransform" callback.
is it possible to provide feature in "unplugin-auto-import".
Describe the bug
I have added local directories js like
and it's generate auto import variable like
get this result
my except result
I want to append path alias the "/core/service/foo". due to this limitation, auto imported "foo" fil is not worked on components folder or other folder.
I can modify the imported file path in unplugin-vue-component package by using "importPathTransform" callback.
is it possible to provide feature in "unplugin-auto-import".
Thanks in advance.
Reproduction
https://codesandbox.io/p/sandbox/vigilant-resonance-78stkp?file=%2Fsrc%2Fauto-import.d.ts%3A1%2C1
System Info
Used Package Manager
npm
Validations