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

Plan for _reference.ts in tsconfig.json #2472

Closed
basarat opened this issue Mar 24, 2015 · 3 comments
Closed

Plan for _reference.ts in tsconfig.json #2472

basarat opened this issue Mar 24, 2015 · 3 comments
Labels
Question An issue which isn't directly actionable in code

Comments

@basarat
Copy link
Contributor

basarat commented Mar 24, 2015

refs : TypeStrong/atom-typescript#206

For the people that use --out they will need some way to easily specify the ordering of files (in some place other than files) like they do in visual studio using _reference.ts.

I don't use (or like --out, since its something that's better done by external build tools), but I thought I'd bring it up still.

@mhegazy
Copy link
Contributor

mhegazy commented Mar 24, 2015

so you can still use a separate file containing all references be it your _references.ts or index.ts and reference it in the files section in your tsconfig. or you can just use files.

Another alternative is for us to add _references.ts support with tsconfig, similar to that in VS, i.e. by pushing the _references.ts to the top. but i wounder if this is needed given that the order in the "files" list in tsconfig is honered.

@basarat
Copy link
Contributor Author

basarat commented Mar 24, 2015

files it is then. If I get the time, I'll test it and document it ❤️

@ahejlsberg
Copy link
Member

Yes, it is definitely the intent for files to serve this purpose.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Question An issue which isn't directly actionable in code
Projects
None yet
Development

No branches or pull requests

3 participants