madge icon indicating copy to clipboard operation
madge copied to clipboard

[Feature Request] Is it possiple to get imported objects of the dependent file?

Open liaodalin19903 opened this issue 5 months ago • 0 comments

Hi,

Is it possiple to get imported objects of the dependent file?

a.ts

export class A {...}
export class A2 {...}

b.ts

import {A} from './a'
import {C} from './c'

then madge to query out the objecs:

 [
  { path: 'path/to/a.ts', objs: [name:'A'] }
  { path: 'path/to/a.ts', objs: [name:'C’] }
].

liaodalin19903 avatar Aug 26 '24 06:08 liaodalin19903