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

Using atom typescript with plain js files #509

Closed
scottwio opened this issue Jul 31, 2015 · 2 comments
Closed

Using atom typescript with plain js files #509

scottwio opened this issue Jul 31, 2015 · 2 comments

Comments

@scottwio
Copy link

Would it be possible to use atom typescipt on plain old .js files. I have seen this working in Visual Studio Code and love it. Sometimes I work on projects where devs are not comfortable using .ts .and I miss the autocomplete magic the ts compiler brings. Visual Studio Code gives you auto complete on standard js files as well as integrating .d.ts files into that auto completion so you get a bit of the typescript goodness even with plain js. Is this possible with atom-typescript?

@basarat
Copy link
Member

basarat commented Jul 31, 2015

Duplicate of #315

I definitely understand the motivation as migrating can be painful. My personal plan is add something that allows you to use the .ts files like JavaScript and discussing that here microsoft/TypeScript#4094

@basarat basarat closed this as completed Jul 31, 2015
@basarat basarat reopened this Jul 31, 2015
@scottwio
Copy link
Author

For me this is more about being able to use some of typescripts abilities without having to change the workflow of everyone on the team. For a lot of people even changing the file extension is to much as they are js purists aka don't like the idea of typescript. This way you can work along side another js dev without effecting them at all.

I wonder how Visual Studio Code has implemented the feature as they are just using the standard ts compiler.

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

No branches or pull requests

3 participants