add nonce option

This commit is contained in:
Burak Shen
2019-02-05 14:41:52 +03:00
committed by GitHub
parent c807902931
commit 66a1569530
+3 -1
View File
@@ -1,7 +1,9 @@
import { ReactElement } from "react";
declare function flushToHTML(): string;
declare function flushToReact<T>(): Array<ReactElement<T>>;
declare function flushToReact<T>(opts?: {
nonce?: string;
}): Array<ReactElement<T>>;
export { flushToHTML };
export default flushToReact;