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

tsconfig.json #37

Open
amritk opened this issue Jan 11, 2016 · 4 comments
Open

tsconfig.json #37

amritk opened this issue Jan 11, 2016 · 4 comments

Comments

@amritk
Copy link

amritk commented Jan 11, 2016

Is there any way to get this to use the tsconfig.json in the project base?

@bdrazhzhov
Copy link
Member

Hello @amritk,

Could you describe more your idea? How do you plan to use tsconfig.json? How could this gem help you with tsconfig.json integration?

@amritk
Copy link
Author

amritk commented Jan 12, 2016

the tsconfig.json would tell it which files to reference so I don't need the reference line at the top of every file:

/// <reference path="../../definitions/hc.d.ts" />

@Danilo-Araujo-Silva
Copy link

@bdrazhzhov, I have the same issue. And the problem is if we cannot use tsconfig.json we cannot integrate Angular 2, for example. The truth is, and it was a great fight, I would like to use on a typescript file call another one, importing it. But when typescript-rails transpile the file it can find the another one, because, looks like, the file is transpiled on a tmp directory. I tried to pass several arguments to the compiler but no sucess. And more, the arguments that could solve the problem to me, pointing a tsconfig.json to the compiler, simply not works, because typescript says that we cannot point tsconfig.json files when we target a typescript file, because it is ambiguous.

I was trying to create some more complex project with typescript and rails but without this feature we simply can't do this. This feature is very very necessary in my opinion. Could we take a look on this?
To use Angular 2 the only way that I found is creating an API only rails project and a angular-cli project, for example.

@bdrazhzhov
Copy link
Member

Hi @Danilo-Araujo-Silva,

But right now I have no time for this gem support. I accept PRs from other people only which fix some issues or add new features.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants