I am developing a website using Angular2 + TypeScript. When I use Google Chrome, my application is working correctly. But when I use Safari, it displays the following message and my application is not working.
const keyword are not supported in strict mode
My tsconfig.json:
{ "compilerOptions": { "outDir": "public/js", "module": "system", "target": "es5", "noImplicitAny": false, "removeComments": false, "sourceMap": false, "moduleResolution": "node", "experimentalDecorators": true, "emitDecoratorMetadata": true }, "exclude": [ "node_modules" ], "files": [ "./src/ts/main.ts" ] }
There is full source code in my github repository .
source share