Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

KnockoutSpa (router.ts) - Left-hand side of assignment expression cannot be a constant or a read-only property. #266

Closed
MarkPieszak opened this issue Aug 17, 2016 · 1 comment

Comments

@MarkPieszak
Copy link
Contributor

MarkPieszak commented Aug 17, 2016

Caused from import * as crossroads from 'crossroads'; for a CommonJS module.

Won't run project due to TS2.0 error.

ERROR in ./ClientApp/router.ts
(21,9): error TS2450: Left-hand side of assignment expression cannot be a constant 
or a read-only property.

Can be fixed with #267

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants