diff --git a/.changeset/gentle-suits-live.md b/.changeset/gentle-suits-live.md new file mode 100644 index 000000000..1cdef8e11 --- /dev/null +++ b/.changeset/gentle-suits-live.md @@ -0,0 +1,13 @@ +--- +'skuba': patch +--- + +template/express-rest-api: Fix lint failure + +This resolves the following failure on a newly-initialised project due to a regression in the `@types/express` dependency chain: + +```console +error TS2688: Cannot find type definition file for 'mime'. + The file is in the program because: + Entry point for implicit type library 'mime' +``` diff --git a/template/express-rest-api/package.json b/template/express-rest-api/package.json index 0c1c5e2c4..aea6578f4 100644 --- a/template/express-rest-api/package.json +++ b/template/express-rest-api/package.json @@ -20,6 +20,7 @@ "@types/express": "^4.17.13", "@types/node": "^20.9.0", "@types/supertest": "^6.0.0", + "mime": "^4.0.1", "pino-pretty": "^11.0.0", "skuba": "*", "supertest": "^6.1.6"