This repository was archived by the owner on Feb 17, 2024. It is now read-only.
This repository was archived by the owner on Feb 17, 2024. It is now read-only.
Issues when targeting es5 #18
Open
Description
Hi,
On windows 10 / 64
Cloning the app,
npm install --global typescript webpack webpack-dev-server tslint
npm install
npm start
gives me a bunch of errors:
[at-loader] node_modules\@angular\core\src\facade\lang.d.ts:12:17
'Map' only refers to a type, but is being used as a value here.
[at-loader] node_modules\@angular\core\src\facade\lang.d.ts:13:17
'Set' only refers to a type, but is being used as a value here.
[at-loader] node_modules\@types\core-js\index.d.ts:47:36
Cannot find name 'Iterable'.
[at-loader] node_modules\@types\core-js\index.d.ts:350:48
Cannot find name 'PropertyKey'.
[at-loader] node_modules\@types\core-js\index.d.ts:351:52
Cannot find name 'PropertyKey'.
Workaround:
On tsconfig.json
"target": "es5"
"target": "es6"
What should be done to target es5 correctly?
Metadata
Metadata
Assignees
Labels
No labels