Minimum Reproducible Example
local a = {
"A",
"B"
} :: {"A" | "B"}
table.find(a, "A")
To me, this feels like it should work but I instead get the following error:
TypeError: No valid instantiation could be inferred for generic type parameter V. It was expected to be at least:
"A" | "B" | string
and at most:
"A" | "B"
but these types are not compatible with one another.Luau[1057](https://luau-lang.org/typecheck)```