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
I have a TypeScript file that I'm processing using importFromStringSync.
The file contains an import of an interface and an enum from different folders.
The interface import works fine, but the enum import fails with an error stating that the module cannot be found.
Why does this happen?
Here is my file:
import { IConfig } from "../types"; import { PathEnum } from "../../router/config"; export const CONFIG: IConfig = { hiddenRoute: [PathEnum.Test], };
Error: Cannot find module '../../router/config'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a TypeScript file that I'm processing using importFromStringSync.
The file contains an import of an interface and an enum from different folders.
The interface import works fine, but the enum import fails with an error stating that the module cannot be found.
Why does this happen?
Here is my file:
Error: Cannot find module '../../router/config'
The text was updated successfully, but these errors were encountered: