ryo-ma / deno-websocket

🦕 A simple WebSocket library like ws of node.js library for deno
https://deno.land/x/websocket
MIT License
152 stars 18 forks source link

TS7030 [ERROR]: Not all code paths return a value. #32

Closed Industrial closed 2 years ago

Industrial commented 2 years ago
function slowCases(enc: string): TextEncodings | undefined {
                                 ~~~~~~~~~~~~~~~~~~~~~~~~~
    at https://deno.land/std@0.92.0/node/_utils.ts:82:34

I don't know if it fixes the problem, but could you update to the latest version of std?