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

Closed
opened 2025-08-09 17:20:06 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @MarkPieszak on 8/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

*Originally created by @MarkPieszak on 8/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 in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#1430
No description provided.