diff --git a/packages/redux-devtools-cli/src/routes.ts b/packages/redux-devtools-cli/src/routes.ts index 4612c049..e0b7b0a6 100644 --- a/packages/redux-devtools-cli/src/routes.ts +++ b/packages/redux-devtools-cli/src/routes.ts @@ -1,5 +1,6 @@ import path from 'path'; import express from 'express'; +import type { Router } from 'express'; import morgan from 'morgan'; import * as http from 'http'; import bodyParser from 'body-parser'; @@ -23,7 +24,7 @@ function routes( options: SCServer.SCServerOptions, store: Store, scServer: SCServer -) { +): Router { const limit = options.maxRequestBody; const logHTTPRequests = options.logHTTPRequests;