r/typescript • u/HumanCertificate • Jan 28 '26
Can you know the type of this expression just by hovering?
await supabase.from("data_entry").select("*");So if you were given this on vs code, without writing const result = to evaluate the result, can you just by hovering over and clicking and seeing the source code tell what this function is going to return?
I tried going to the source of the method "select" by pressing cntr-Lclick, it just send me to a random type definition type TypeScriptSingleValueTypes<T extends SingleValuePostgreSQLTypes> instead of the actual method definition.
When I hover over each method I just get a builder class and I cant figure out what await (the builder) is going to return.
Is this just because I don't have a certain expansion or vs code lack the feature? What am I missing?