partey_workadventure/back/src/Server/server/app.ts

14 lines
358 B
TypeScript
Raw Normal View History

2020-09-28 18:52:54 +02:00
import { App as _App, AppOptions } from 'uWebSockets.js';
import BaseApp from './baseapp';
import { extend } from './utils';
import { UwsApp } from './types';
class App extends (<UwsApp>_App) {
constructor(options: AppOptions = {}) {
2020-09-29 16:12:17 +02:00
super(options); // eslint-disable-line constructor-super
2020-09-28 18:52:54 +02:00
extend(this, new BaseApp());
}
}
export default App;