Skip to content

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

Open
@liaodalin19903

Description

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’] }
].

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions