Defining element type in a table

so when i define the type of a variable, it goes totally alright:

local Player: Player = nil

but when i try to define the type of an element in a table, it doesnt go exactly how i thought it would:

PlayerProfile.Player: Player = nil
Missed symbol `(`.Luau Syntax Check.(miss-symbol)

this is my first time working with type so anyone know the correct way of doing this?

You would use PlayerProfile.Player = nil, the variable: info is used for details you need to know about that variable if you choose to make it. It thinks you’re doing a function with requires ‘()’ to use.