Bug(KnockoutSpa): Router TS issue

TS erroring out (unable to build) due to `crossroads.normalizeFn = crossroads.NORM_AS_OBJECT;` <-- left hand assignment

```
ERROR in ./ClientApp/router.ts
(21,9): error TS2450: Left-hand side of assignment expression cannot be a constant or a read-only property.
```
This commit is contained in:
Mark Pieszak
2016-08-17 19:06:16 -04:00
committed by SteveSandersonMS
parent d928ef4f12
commit 9e714b61fe

View File

@@ -1,5 +1,5 @@
import * as ko from 'knockout';
import * as crossroads from 'crossroads';
var crossroads = require('crossroads');
// This module configures crossroads.js, a routing library. If you prefer, you
// can use any other routing library (or none at all) as Knockout is designed to