Fix project references of local @types/express.d.ts
The `comments-server` package requires the `server` package, but previously it did not load the updates of global Express.Request definitions correctly. By adding the triple slash comment: /// <reference path="../@types/express.d.ts" /> to the top to the top of packages/server/src/index.ts, the issue is now resolved
This commit is contained in:
parent
dbed11214d
commit
d560f7a725
@ -48,6 +48,9 @@ rules:
|
||||
'@typescript-eslint/no-explicit-any':
|
||||
- warn
|
||||
- ignoreRestArgs: true
|
||||
'@typescript-eslint/triple-slash-reference':
|
||||
- warn
|
||||
- path: always
|
||||
overrides:
|
||||
- files:
|
||||
- '*.test.ts'
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
/// <reference path="../@types/express.d.ts" />
|
||||
/// <reference path="../@types/react-ssr-prepass.d.ts" />
|
||||
if (require.main === module) {
|
||||
if (!process.env.LOG) {
|
||||
process.env.LOG = 'api,sql:warn'
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user