mirror of
https://github.com/bendtherules/react-fiber-traverse.git
synced 2026-08-18 13:52:36 +00:00
traverseGenerator - Mark properties in yield object optional
This commit is contained in:
+1
-1
@@ -93,7 +93,7 @@ function* traverseGenerator(
|
|||||||
|
|
||||||
function* traverseSelf() {
|
function* traverseSelf() {
|
||||||
const controlInput:
|
const controlInput:
|
||||||
| { skipChild: boolean; skipSibling: boolean }
|
| { skipChild?: boolean; skipSibling?: boolean }
|
||||||
| undefined = yield node;
|
| undefined = yield node;
|
||||||
|
|
||||||
if (controlInput !== undefined) {
|
if (controlInput !== undefined) {
|
||||||
|
|||||||
Reference in New Issue
Block a user