Haris Razis
4 years ago
7 changed files with 14 additions and 21 deletions
@ -1,11 +0,0 @@ |
|||||
import express from 'express'; |
|
||||
|
|
||||
export class AppRouter { |
|
||||
private static instance: express.Router; |
|
||||
|
|
||||
static getInstance(): express.Router { |
|
||||
if (!AppRouter.instance) AppRouter.instance = express.Router(); |
|
||||
|
|
||||
return AppRouter.instance; |
|
||||
} |
|
||||
} |
|
@ -0,0 +1,5 @@ |
|||||
|
{ |
||||
|
"rules": { |
||||
|
"quotes": ["error", "single"] |
||||
|
} |
||||
|
} |
Loading…
Reference in new issue