Skip to content

Question: Lookup external module names #2593

@basarat

Description

@basarat

I already provide a decent experience for relative paths https://github.com/TypeStrong/atom-typescript#relative-paths

Want to expand it to also list the available external module declarations. But struggling to find the different between these two types:

declare module foo{
}

vs

declare module 'foo'{
}

Is there some LS API I could use to just get 'foo' and not foo?

Note: I have access to program so if its not possible using LS feel free to guide me a bit toward the program based solution 🌹

refs :TypeStrong/atom-typescript#230

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIRelates to the public API for TypeScriptQuestionAn issue which isn't directly actionable in code

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions