p7gg opened this issue a year ago · 0 comments
is there a way to make sure, that when I pass initialData, the query result comes back as DefinedUseQuery?
initialData
reproduction: https://www.typescriptlang.org/play?#code/JYWwDg9gTgLgBAbzgYygUwIYzQRQK5pQCeA0mkQM4A0cAKkWGgCYCqFuBxA8mDMBADsKcAL5wAZlAgg4AcgACAGzwBrNCGgZFaCgHoAjpyIBaNSfEZkMaEVkAoUJFiI4edvkJFREqTIUwMIQDkFV10SxhjQ097O2RBCnhxCAg4AF4UcOwPYjJKAApZZIhZGgQ7OEq4ACMMKAAuOHyzRsSoYAEAcwBKdIA+JvKq4bho3PJGgG0zAF0qCpHKsaIAMQFG-N60gYAFX2B2ADp0CghFADc0fJgoAm6FypF7p7s4hPg3NBWU9KaWuDaHU6NAgvH4QgA-I16IxWO4jDw+AkADwwBhoCDiCQpQ61KB9LYDIZVdAwPBQASueGefLExaHBmgpFCeaLSoMw7FXF1ZrkbqsqovESveJBUZGX6fb4QQrFUouDrAPhaAAiWAwjRuBFE91FiTgTHVv2Wh0NATsul0IwAehCgA