Adds `expected_type_of` to `CompletionContext` to return the expected type of a node, if it is known.