Skip to content

Commit 44e3eff

Browse files
committed
chore: add config type to request
Ticket: WP-4352
1 parent b8c1fc7 commit 44e3eff

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

types/enclaved-express/index.d.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
import { Config } from '../../src/config';
2+
3+
declare module 'express-serve-static-core' {
4+
export interface Request {
5+
config: Config;
6+
}
7+
}

0 commit comments

Comments
 (0)