We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When typescript file has import with this style
import { getResponse, type APIResponseType} from "./api"; Magde will not resolve any dependencies, running with --debug will print this error
import { getResponse, type APIResponseType} from "./api";
tree error getting dependencies: ',' expected. +30ms tree TSError: ',' expected.
The text was updated successfully, but these errors were encountered:
@kamiazya might this be fixed with V6 release?
Sorry, something went wrong.
I had the same issue and my work around was to split the line like this
import { getResponse } from "./api"; import type { APIResponseType } from "./api";
@fdc-viktor-luft cc @PabloLION Thank you!
madge v6 will update detective-typescript to 9.0.0, and it's depends on typescript@^4.5.5.
Type-Only Imports and Export syntax is implemented in [email protected].
Type-Only Imports and Export
So this issue will be resolved.
resolved in #321
Successfully merging a pull request may close this issue.
When typescript file has import with this style
import { getResponse, type APIResponseType} from "./api";
Magde will not resolve any dependencies, running with --debug will print this error
The text was updated successfully, but these errors were encountered: