Base solution for your next web application
Starts in:
01 DAYS
01 HRS
01 MIN
01 SEC
Open Closed

Cannot custom TypeScript configuration #1399


User avatar
0
smling created

I am new in ABP framework. I generated the project template from official site and try to add TypeScript in it. However, when I try to import AngularJS, it status:

Cannot compile modules unless the '--module' flag is provided with a valid module type. Consider setting the 'module' compiler option in a 'tsconfig.json' file.

I tried to add tsconfig.json to App\Main, but same error message shown. May I know how which path should I place the json file?

Code of import AngularJS

import {component} from "angular2/core"

No answer yet!