Skip to content

Commit 0004c1c

Browse files
committed
fix: add type annotation for express app instance
1 parent 0d65285 commit 0004c1c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ try {
1717
import * as apiController from './controllers/api';
1818
import * as authController from './controllers/auth';
1919

20-
const app = express();
20+
const app: express.Express = express();
2121

2222
const protect = authController.protect();
2323

0 commit comments

Comments
 (0)