If There was a semicolon at line 2 in app.controller.tsimport { AppService } from './app.service'; // here
Then, There would be no error.
But, If There was no semicolon at the same line
import { AppService } from './app.service' // here
Then, I could get error like this. I think AppService wasn't injected to AppController
Config
If There was a semicolon at line 2 in
app.controller.ts
import { AppService } from './app.service'; // here
Then, There would be no error.But, If There was no semicolon at the same line
import { AppService } from './app.service' // here
Then, I could get error like this. I thinkAppService
wasn't injected toAppController
There should be no errors with or without semicolons.
Also, It had worked with ts-node