socket.io-event-types This typings utility allows to specify explicit typings / function signatures for on and emit. This can be used to enable the TypeScript compiler to warn when the arguments are not being passed properly.