-
Notifications
You must be signed in to change notification settings - Fork 202
Using in vanilla JS / JavaScript projects #315
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
Comments
sadly not at the moment. The TypeScript compiler is really stingy about file extensions. And we've followed this convention deep within our code. Leaving open as a wishlist 🌹 |
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. |
+1 It would be great use TS features in .js files |
It seems the TypeScript team agrees. Take a look at the items tagged salsa on their issues list. This may be coming in a future language service version, in which case I assume we'd add support for it. |
👍 |
3 similar comments
+1 |
👍 |
👍 |
:+ |
+1 |
Foreword: I will most likely not get to it anytime soon. TypeScript has officially unleashed the So about time we support it. Not marking as up for grabs as reviewing this is going to be just as much work as adding and then supporting it. The following is a list of tasks that needs to happen
My BIG concerns are:
Let me sit on it :-/ I am open for other ideas 🌹 |
+1 |
2 similar comments
+1 |
+1 |
Tern's hints are OK, but the UI is awkward compared to this plugin. There's a lot of overlap. My plan as a user was to remove tern and replace with atom-typescript. I think we could simply document that users should disable tern if they want to use atom-typescript on JavaScript files. |
It is now up for grabs. Also this project needs a new hero : #980 🌹 |
Is it possible to use this package for vanilla js?
Even without the type annotations, TypeScripts autocomplete suggestions are a lot better than those of most other Atom packages I tried.
The text was updated successfully, but these errors were encountered: