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 19 forks source link

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

Closed Industrial closed 3 years ago

Industrial commented 3 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?