Skip to content

Commit

Permalink
fix legacy DOM ResponseState type
Browse files Browse the repository at this point in the history
  • Loading branch information
gnoff committed Jan 15, 2023
1 parent 216c41c commit 7373264
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export type ResponseState = {
requiresEmbedding: boolean,
rendered: DocumentStructureTag,
flushed: DocumentStructureTag,
charsetChunks: Array<Chunk | PrecomputedChunk>,
hoistableChunks: Array<Chunk | PrecomputedChunk>,
placeholderPrefix: PrecomputedChunk,
segmentPrefix: PrecomputedChunk,
boundaryPrefix: string,
Expand Down Expand Up @@ -87,6 +89,8 @@ export function createResponseState(
requiresEmbedding: false,
rendered: NONE,
flushed: NONE,
charsetChunks: [],
hoistableChunks: [],
placeholderPrefix: responseState.placeholderPrefix,
segmentPrefix: responseState.segmentPrefix,
boundaryPrefix: responseState.boundaryPrefix,
Expand Down

0 comments on commit 7373264

Please sign in to comment.