mirror of
https://github.com/facebook/react.git
synced 2026-11-18 20:15:56 +00:00
Fix Fizz exported types (#21596)
This commit is contained in:
1 parent
28625c6f45
commit
8f6163cbed
2 files changed
+7
-6
No files matched your search
@@ -21,7 +21,7 @@ import {
|
||||
createRootFormatContext,
|
||||
} from './ReactDOMServerFormatConfig';
|
||||
|
||||
type Options = {
|
||||
type Options = {|
|
||||
identifierPrefix?: string,
|
||||
namespaceURI?: string,
|
||||
progressiveChunkSize?: number,
|
||||
@@ -29,7 +29,7 @@ type Options = {
|
||||
onReadyToStream?: () => void,
|
||||
onCompleteAll?: () => void,
|
||||
onError?: (error: mixed) => void,
|
||||
};
|
||||
|};
|
||||
|
||||
function renderToReadableStream(
|
||||
children: ReactNodeList,
|
||||
|
||||
+5
-4
@@ -26,20 +26,21 @@ function createDrainHandler(destination, request) {
|
||||
return () => startFlowing(request);
|
||||
}
|
||||
|
||||
type Options = {
|
||||
type Options = {|
|
||||
identifierPrefix?: string,
|
||||
namespaceURI?: string,
|
||||
progressiveChunkSize?: number,
|
||||
onReadyToStream?: () => void,
|
||||
onCompleteAll?: () => void,
|
||||
onError?: (error: mixed) => void,
|
||||
};
|
||||
|};
|
||||
|
||||
type Controls = {
|
||||
type Controls = {|
|
||||
// Cancel any pending I/O and put anything remaining into
|
||||
// client rendered mode.
|
||||
abort(): void,
|
||||
};
|
||||
startWriting(): void,
|
||||
|};
|
||||
|
||||
function pipeToNodeWritable(
|
||||
children: ReactNodeList,
|
||||
|
||||
Reference in new issue
Block a user