Intellisense in modules inside modules?

Hello, I have this library module that basically requires all other modulescripts inside of it to return an organised full library:

return function(OriginalLibrary: string?)
	local FullLibrary = {}
	
	for _, Library in script:GetChildren() do
		if not Library:IsA("ModuleScript") then continue end
		if Library.Name == OriginalLibrary then continue end
		
		FullLibrary[Library.Name] = require(Library)
	end
	
	return FullLibrary
end

Basically to get to a function inside one of these modules I would do

Library.[Module].[Function] (or :[Function], you get it)

Is there any way I could have intellisense read these functions inside the specific module so this way I know Iā€™m filling in the right parameters and other stuff?

1 Like

lots of types and lots of exporting

there really is no best way to do it bc it depends on how you have your scripts & game structure set-up

2 Likes