Property 'socket' does not exist on type 'HomePage'

Hello! I need to include socket.io in my APP and I have the error: property ‘socket’ does not exist on type 'HomePage’
Somebody know how can I solution it?
Thanks in advance.

Best regards.