mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 23:07:06 +00:00
Merge pull request #32780 from Qeneke/patch-1
[styled-jsx]: add nonce option
This commit is contained in:
Vendored
+6
-2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user