diff --git a/tests/baselines/reference/definiteAssignmentOfDestructuredVariable.types b/tests/baselines/reference/definiteAssignmentOfDestructuredVariable.types index 96d632736dd..166ee6d37a4 100644 --- a/tests/baselines/reference/definiteAssignmentOfDestructuredVariable.types +++ b/tests/baselines/reference/definiteAssignmentOfDestructuredVariable.types @@ -25,9 +25,9 @@ class C { >foo : { [P in keyof T]: T[P]; } !(a && b); ->!(a && b) : false ->(a && b) : T["b"] ->a && b : T["b"] +>!(a && b) : boolean +>(a && b) : 0 | T["b"] | undefined +>a && b : 0 | T["b"] | undefined >a : T["a"] >b : T["b"] diff --git a/tests/baselines/reference/typeVariableTypeGuards.types b/tests/baselines/reference/typeVariableTypeGuards.types index 0bc2f4a8389..927c44d17f7 100644 --- a/tests/baselines/reference/typeVariableTypeGuards.types +++ b/tests/baselines/reference/typeVariableTypeGuards.types @@ -16,7 +16,7 @@ class A

> { >doSomething : () => void this.props.foo && this.props.foo() ->this.props.foo && this.props.foo() : void +>this.props.foo && this.props.foo() : void | undefined >this.props.foo : P["foo"] >this.props : Readonly

>this : this