HenningM / express-ws

WebSocket endpoints for express applications
BSD 2-Clause "Simplified" License
878 stars 142 forks source link

Typescript typing error #78

Open mustafaekim opened 7 years ago

mustafaekim commented 7 years ago

Hi, I use node + typescript + express and now I would like to integrate with ws and express-ws. Even though I've installed @ types/ws, the typings do not work. I am getting the error below, when I write app.ws(.. or router.ws(..

Property 'ws' does not exist on type 'Application'

spali commented 7 years ago

types/ws ist for https://github.com/websockets/ws which is a different Project As I know there is no official typing available for this Project.

fyn-dev commented 6 years ago

Any plans to support typescript and provide examples?

chenyongze commented 1 year ago

Property 'ws' does not exist on type 'Express'.

image image