Init a TArray

I just noticed the main problem is not because of the Array. It is because I define the variable outside the function (as public static TArray<USqueezy*> MySqueezies; in the .h)
if i declare a regular variable like:

public static USqueezy* test;

and then inside the function i put:

test = thisSqueezy;

i have the same undefined symbol error