Skip to content
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

Absolute root path for reference / import #941

Closed
TimDumol opened this issue Oct 22, 2014 · 3 comments
Closed

Absolute root path for reference / import #941

TimDumol opened this issue Oct 22, 2014 · 3 comments
Labels
Duplicate An existing issue was already created Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. Suggestion An idea for TypeScript

Comments

@TimDumol
Copy link

Perhap it is possible to manage variables on reference tag, and specify it on compiler options.
Files like this for exemple:

/// <reference path="{pathProjectA}/Foo.ts" />
/// <reference path="{pathProjectB}/Bar.ts" />

with compiler like this:

tsc ... --var pathProjectA=... pathProjectB=...

Migration of https://typescript.codeplex.com/workitem/1414

@danquirk danquirk added Suggestion An idea for TypeScript Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. labels Oct 22, 2014
@bsr203
Copy link

bsr203 commented Nov 8, 2014

+1

@NoelAbrahams
Copy link

Possible duplicate of #293

@danquirk
Copy link
Member

Yep, dupe, thanks @NoelAbrahams

@danquirk danquirk added the Duplicate An existing issue was already created label Nov 10, 2014
@microsoft microsoft locked and limited conversation to collaborators Jun 18, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Duplicate An existing issue was already created Needs Proposal This issue needs a plan that clarifies the finer details of how it could be implemented. Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

4 participants