File tree 2 files changed +12
-11
lines changed 2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,21 @@ import qs from "qs"
5
5
import safeCompare from "safe-compare"
6
6
import { HttpCode , HttpError } from "../common/http"
7
7
import { normalize , Options } from "../common/util"
8
- import { AuthType } from "./cli"
8
+ import { AuthType , DefaultedArgs } from "./cli"
9
9
import { commit , rootPath } from "./constants"
10
+ import { Heart } from "./heart"
10
11
import { hash } from "./util"
11
12
13
+ declare global {
14
+ // eslint-disable-next-line @typescript-eslint/no-namespace
15
+ namespace Express {
16
+ export interface Request {
17
+ args : DefaultedArgs
18
+ heart : Heart
19
+ }
20
+ }
21
+ }
22
+
12
23
/**
13
24
* Replace common variable strings in HTML templates.
14
25
*/
Original file line number Diff line number Diff line change @@ -26,16 +26,6 @@ import * as _static from "./static"
26
26
import * as update from "./update"
27
27
import * as vscode from "./vscode"
28
28
29
- declare global {
30
- // eslint-disable-next-line @typescript-eslint/no-namespace
31
- namespace Express {
32
- export interface Request {
33
- args : DefaultedArgs
34
- heart : Heart
35
- }
36
- }
37
- }
38
-
39
29
/**
40
30
* Register all routes and middleware.
41
31
*/
You can’t perform that action at this time.
0 commit comments