Make statusCode optional on RenderToStringResult. Fixes #917 and #918

This commit is contained in:
Steve Sanderson
2017-05-04 18:20:25 +01:00
parent e48ee287c2
commit d41f47f5bc

View File

@@ -8,7 +8,7 @@ interface RenderToStringCallback {
interface RenderToStringResult {
html: string;
statusCode: number;
statusCode?: number;
globals?: { [key: string]: any };
}