mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-28 21:10:02 +00:00
Typescript specification says: "When writing overloaded declarations such as the one above it is important to list the non-pecialized signature last. This is because overload resolution (section 4.12.1) processes the candidates in declaration order and picks the first one that matches." Fixed this for Server and WebSocket class