In the new luau type solver, to specify a type into a generic type function, you’d have to do something called Generic Type Instantiation. It normally looks like this:
local function GenericFunction<T>(Value: T) -- Typed as [ (T) -> () ]
-- Code
end
GenericFunction<<string>>("ThisIsAString") -- now typed as [ (string) -> () ] instead of [ (T) -> () ]
This also works the same way when calling functions inside a table or a module.
Normally to know the type of a parameter inside a function with generic type parameters, you would use the tooltip:
However, when you try to use Generic Type Instantiation with method calls, the types aren’t properly syntax-highlighted, the autocomplete doesn’t work and the tooltip does not update properly.
This is merely a visual bug as the engine is still able to detect the types inside of the function
Expected behavior
What should’ve happened
When using Generic Type Instantiation inside a method function calls, the types should be highlighted, autocomplete should suggest types and the tooltip should also update the parameter types properly



