mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* Seems like the error callback is malformatted New to typescript, but it complains on my cb function since it expects an error argument and doesn't return an object. I proposed these changes, but haven't done any typescripting really (trying to migrate to TS), so feel free to deny this PR if it's wrong. I did check with the source code in ws before suggesting this though. * Updated argument with an optional any type |
||
|---|---|---|
| .. | ||
| index.d.ts | ||
| tsconfig.json | ||
| ws-tests.ts | ||