How to add intellisense to modules stored in tables?

How do I get intellisense for required modules that are stored in tables?

Module script thing

function hydrogen:LoadService(Service: ModuleScript)
	local success, err = pcall(function()
		local _Service = require(Service)

        if _Service["Initialize"] then
            _Service["Initialize"]()
        end

        self.Services[Service.Name] = _Service
	end)
end

function hydrogen:GetService(Service: string)
    self:HasLoaded()
    local LoadedService = self.Services[Service]
    if RS:IsServer() then
        return LoadedService.Server
    else
        return LoadedService.Client
    end
end

Server script

local hydrogen = require(RpS.hydrogen)

local Framework = hydrogen.new(script)
Framework:LoadServices()

local Test = Framework:GetService("Test")

but when I get the module in the table using this I want it to have intellisense too!

local Test = Framework:GetService("Test")

If anyone knows how it would be appreciated.

Not entirely sure if it’s possible, perhaps you could do something with the index or keyof type function in the new Luau type solver?

The typesolver does not have support for dynamically required modules, it can only statically analyze scripts