Merge pull request #32780 from Qeneke/patch-1

[styled-jsx]: add nonce option
This commit is contained in:
Mine Starks
2019-02-13 08:40:36 -08:00
committed by GitHub
+6 -2
View File
@@ -1,7 +1,11 @@
import { ReactElement } from "react";
declare function flushToHTML(): string;
declare function flushToReact<T>(): Array<ReactElement<T>>;
declare function flushToHTML(opts?: {
nonce?: string;
}): string;
declare function flushToReact<T>(opts?: {
nonce?: string;
}): Array<ReactElement<T>>;
export { flushToHTML };
export default flushToReact;