traverseGenerator - Mark properties in yield object optional

This commit is contained in:
2019-09-11 08:58:17 +05:30
parent 827b282064
commit 817242dd25
+1 -1
View File
@@ -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) {