( destination: Destination, resumableState: ResumableState, )
| 5688 | } |
| 5689 | |
| 5690 | export function writePostamble( |
| 5691 | destination: Destination, |
| 5692 | resumableState: ResumableState, |
| 5693 | ): void { |
| 5694 | if (resumableState.hasBody) { |
| 5695 | writeChunk(destination, endChunkForTag('body')); |
| 5696 | } |
| 5697 | if (resumableState.hasHtml) { |
| 5698 | writeChunk(destination, endChunkForTag('html')); |
| 5699 | } |
| 5700 | } |
| 5701 | |
| 5702 | const arrayFirstOpenBracket = stringToPrecomputedChunk('['); |
| 5703 | const arraySubsequentOpenBracket = stringToPrecomputedChunk(',['); |
no test coverage detected