Skip to content

Commit

Permalink
Remove unused ts-expect-error
Browse files Browse the repository at this point in the history
  • Loading branch information
GarboMuffin committed Jun 18, 2024
1 parent 30c3fa6 commit f6a93a5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ const server = http.createServer(function handler(req, res) {

server.on('upgrade', function upgrade(request, socket, head) {
// Forward these requests to the WebSocket server.
// @ts-expect-error
wss.handleUpgrade(request, socket, head, function done(ws) {
wss.emit('connection', ws, request);
});
Expand Down

0 comments on commit f6a93a5

Please sign in to comment.