Right click the blue pin:
And promote to variable. This will create a reference variable for the correct type.