mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 01:31:45 +00:00
add nonce option
This commit is contained in:
Vendored
+3
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user