Comments (7)
Are you able to specify which version of TypeScript that WebStorm uses to compile? Seems like they don't have support for 2.7?
from typescript-node-starter.
I was setting WebStorm to use the TypeScript compiler in my project, which was 2.7.2. Their website claims that it supports 2.7, but they actually had this bug I'm referring to logged about a month or two ago. So it looks like this is a bug in WebStorm right now which is hopefully somewhere on their road map to fix.
A workaround is to just go back to the old style of importing CommonJS modules.
from typescript-node-starter.
Might work if you give their latest Release Candidate a shot.
Just curious, is there anything in particular that makes you choose WebStorm, or is it just personal preference?
from typescript-node-starter.
Stronger Intellisense in some situations, refactoring tools etc. Though I haven't committed to using WebStorm over free tools. I was just exploring it. Right now, friction like that was enough to turn me off. I find with Visual Studio Code, I feel less pressure to do things "the JetBrains way". WebStorm wanted me to arrange my build process according to their liking, complaining if files to run after the build aren't there yet (duh, I haven't built yet) and so I'm sticking with Visual Studio Code for now, which seems to break things down into smaller steps that I can manually perform (do a build, then do a run, etc).
from typescript-node-starter.
Thanks for the details! Always interesting to hear about other people's experiences with different tools.
from typescript-node-starter.
Disabling checkbox "Also for projects without tsconfig.json" in Settings > Languages & Frameworks > Typescript seems to help.
from typescript-node-starter.
for reference, original issues was related to WebStorm, see their blog post comments:
https://blog.jetbrains.com/webstorm/2016/03/how-to-compile-typescript-in-webstorm/#comment-315741
from typescript-node-starter.
Related Issues (20)
- README link to TypeScript Website's documentation is broken HOT 1
- client ts files and server ts files should compile to diffrent target HOT 3
- None of the tests pass. HOT 3
- Upgrade to TS 4.0 HOT 6
- Live demo is not working HOT 1
- :( Application Error If you are the application administrator, you can access the diagnostic resources. HOT 3
- Add a sample azure-pipelines.yml HOT 2
- Cannot read property 'picture' of undefined HOT 2
- Upgrade the connect-mongo package to v4 HOT 1
- To add more topics to this repository
- Checked out from master and audit still reported high severity vulnerability found.
- [Node] MongoError: E11000 duplicate key error collection HOT 1
- MongoNetworkError: failed to connect to server [localhost:27017] on first connect [Error: connect ECONNREFUSED 127.0.0.1:27017 HOT 1
- Cannot GET /favicon.ico HOT 2
- Error(s) on update dependencies HOT 2
- The README.md live demo link is broken HOT 3
- User.ts - why Pre Middleware instead of setter for password? HOT 1
- Cannot find tsconfig.test.json HOT 1
- build failed HOT 4
- Error in development mode: req.session.returnTo = req.path; HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-node-starter.