You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
greenvironment-server/src/app.ts

18 lines
389 B
TypeScript

import * as express from "express";
import * as http from "http";
import * as socketIo from "socket.io";
class App {
public app: express.Application;
public io: socketIo.Server;
public server: http.Server;
constructor() {
this.app = express();
this.server = new http.Server(this.app);
this.io = socketIo(this.server);
}
}
export default App;