mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-17 11:45:58 +08:00
The version of `Server.listen` that takes a `ListenOptions` as the first argument should come before the versions that take `any` as the first argument. For example, even if a `ListenOptions` object is given, VSCode will assume it is `any` in its helper text. I find that not as preferable for type-safety reasons ( avoid all `any`s ;) ).