Module Script Function [ NEED HELP ]

So I know some of type notation like

function test(a : string, b : number) 
end

but how to make variable of function must be a table?
like let’s say
function test(a : string, b : table)

function test(a: string, b: {})

end

You can even do

function test(a: string, b: {
		[string]: number;
	}) 
	print(a,b) 
end 

To have a set format for the table

1 Like