mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
19 lines
378 B
TypeScript
19 lines
378 B
TypeScript
import * as loopback from 'loopback';
|
|
import * as cookieParser from 'cookie-parser';
|
|
|
|
class Server {
|
|
app: loopback.LoopBackApplication;
|
|
|
|
static boostrap(): Server {
|
|
return new Server();
|
|
}
|
|
constructor() {
|
|
this.app = loopback();
|
|
|
|
this.app.use(cookieParser());
|
|
|
|
this.app.start = () => {
|
|
// start the web server
|
|
};
|
|
}
|
|
} |