Error on fresh project #780

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

Originally created by @ghost on 5/4/2017

Creating a fresh project and getting the following error in Development environment:

in [at-loader] ./ClientApp/boot-server.tsx:43:25
TS2345: Argument of type '{ html: string; globals: { initialReduxState: ApplicationState; }; }' is not assignable to parameter of type 'RenderToStringResult | RedirectResult | PromiseLike'.
Type '{ html: string; globals: { initialReduxState: ApplicationState; }; }' is not assignable to type 'PromiseLike'.
Property 'then' is missing in type '{ html: string; globals: { initialReduxState: ApplicationState; }; }'.

*Originally created by @ghost on 5/4/2017* Creating a fresh project and getting the following error in Development environment: in [at-loader] ./ClientApp/boot-server.tsx:43:25 TS2345: Argument of type '{ html: string; globals: { initialReduxState: ApplicationState; }; }' is not assignable to parameter of type 'RenderToStringResult | RedirectResult | PromiseLike<RenderResult>'. Type '{ html: string; globals: { initialReduxState: ApplicationState; }; }' is not assignable to type 'PromiseLike<RenderResult>'. Property 'then' is missing in type '{ html: string; globals: { initialReduxState: ApplicationState; }; }'.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#780
No description provided.