-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
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
How to I get the moduleName for each SourceFile? #14
Comments
Can you describe which information you are trying to get from this property? |
I want to generate import statements for each of the exports. To correctly generate imports, I need to know the module name and the name of the item being exported. Here, I'm trying to get |
I can string split on |
I'm afraid there is no ready-to-use solution. You need to use I'd suggest:
|
Thanks, I'll give that a shot. |
Is there a way to get the
moduleName
s for a SourceFile? They are all showing up asuknown
when I do this?http://www.typescriptlang.org/docs/handbook/module-resolution.html
The text was updated successfully, but these errors were encountered: