From 66a1569530b832db2a90fc16698e483ea67b2d52 Mon Sep 17 00:00:00 2001 From: Burak Shen Date: Tue, 5 Feb 2019 14:41:52 +0300 Subject: [PATCH] add nonce option --- types/styled-jsx/server.d.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/types/styled-jsx/server.d.ts b/types/styled-jsx/server.d.ts index 16de5fbb72..dc34e0d649 100644 --- a/types/styled-jsx/server.d.ts +++ b/types/styled-jsx/server.d.ts @@ -1,7 +1,9 @@ import { ReactElement } from "react"; declare function flushToHTML(): string; -declare function flushToReact(): Array>; +declare function flushToReact(opts?: { + nonce?: string; +}): Array>; export { flushToHTML }; export default flushToReact;