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 committed Nov 15, 2023
1 parent 265dc2a commit 523d875
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 523d875

Please sign in to comment.