I develop a web site using Angular2 + TypeScript. When I use Google Chrome, my application is properly working. But, when I use Safari, it displays the following message and my application doesn't work.
const keyword are not supported in strict mode
My tsconfig.json is:
{
"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.