Closed Kolobok12309 closed 2 years ago
We write library with multiple optional modules, some of them declare props for another modules, for example
source
import type { MinimalColor } from '@/modules/components'; declare module '@/modules/components' { interface Color { btn?: MinimalColor | false; } }
After compile and tsc-alias
tsc-alias
import type { MinimalColor } from 'shared-front/lib/modules/components'; declare module '@/modules/components' { interface Color { btn?: MinimalColor | false; } }
Expected
import type { MinimalColor } from 'shared-front/lib/modules/components'; declare module 'shared-front/lib/modules/components' { interface Color { btn?: MinimalColor | false; } }
Can you add replacing of declare module paths please?
declare module
We write library with multiple optional modules, some of them declare props for another modules, for example
source
After compile and
tsc-alias
Expected
Can you add replacing of
declare module
paths please?