Skip to content

Commit

Permalink
fix: fix renderedHtml type for react_component_hash
Browse files Browse the repository at this point in the history
  • Loading branch information
kotarella1110 authored and Judahmeek committed Nov 15, 2023
1 parent 5a729d8 commit c4c0b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node_package/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ type AuthenticityHeaders = {[id: string]: string} & {'X-CSRF-Token': string | nu
type StoreGenerator = (props: Record<string, unknown>, railsContext: RailsContext) => Store

interface ServerRenderResult {
renderedHtml?: string;
renderedHtml?: string | { componentHtml: string; [key: string]: string };
redirectLocation?: {pathname: string; search: string};
routeError?: Error;
error?: Error;
Expand Down

0 comments on commit c4c0b0e

Please sign in to comment.