Updated missed node dependent (#34886)

This commit is contained in:
Nathan Shively-Sanders 2019-04-20 10:19:16 -07:00 committed by GitHub
parent 6fc535f32e
commit b5846b7489
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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');