Expected Behavior
Should compile just fine
Actual Behavior
SyntaxError: Unexpected token ;
"scripts": {
"start": "ts-node -O '{\"module\": \"commonjs\"}' ./src/Server.ts"
},


I can't see any reason why this like would give an error.
Steps to reproduce the problem
Unsure... it's super random. Some files it'll do it, others it wont. It always has to do with constructor arguments. I can't share my entire project.
Minimal reproduction
It appears to be fairly random when it will and will-not work. I can't find any pattern. I can't reproduce it from one file to another, and I have no idea why. Some files, the construct just doesn't like having any arguments.
Specifications
ts-node v10.1.0
node v11.12.0
compiler v4.2.3
- tsconfig.json, if you're using one:
- Operating system and version: Mac OS recentish
- If Windows, are you using WSL or WSL2?:
Expected Behavior
Should compile just fine
Actual Behavior
I can't see any reason why this like would give an error.
Steps to reproduce the problem
Unsure... it's super random. Some files it'll do it, others it wont. It always has to do with constructor arguments. I can't share my entire project.
Minimal reproduction
It appears to be fairly random when it will and will-not work. I can't find any pattern. I can't reproduce it from one file to another, and I have no idea why. Some files, the construct just doesn't like having any arguments.
Specifications
ts-node v10.1.0
node v11.12.0
compiler v4.2.3