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

14 lines
317 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 = {}) {
super(options);
extend(this, new BaseApp());
}
}
export default App;