Type-checking not allowing table function to be changed in condition scope

I want to be able to change a function of a table in a condition scope without luau type-checking warning.

When Type-checking with strict on, luau doesn’t allow table function to be changed or created again in the condition scope if the first scope has the function already created.

I had tried assigning my table to { [any] : any } but when doing that all of my autofill was gone. I can change the function to a dot operator meaning I have to add the self parameter in the dot function but then it will show a different warning if I use the dot without self than the colon function when using the dot.

local Table = {}

if true then
	function Table:Foo() end
	function Table:Foo() end