mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Updated missed node dependent (#34886)
This commit is contained in:
parent
6fc535f32e
commit
b5846b7489
@ -5,7 +5,7 @@ import { authorize, JwtSecretFuncCallback } from 'socketio-jwt';
|
||||
|
||||
const app = http.createServer((req: any, rsp: any) => {
|
||||
fs.readFile(__dirname + '/index.html',
|
||||
(err: Error, data: any) => {
|
||||
(err: Error | null, data: any) => {
|
||||
if (err) {
|
||||
rsp.writeHead(500);
|
||||
return rsp.end('Error loading index.html');
|
||||
|
||||
Loading…
Reference in New Issue
Block a user