express-generator-typescript 2.7.17 → 2.7.18

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -33,7 +33,7 @@ const schema: Schema<IUser> = {
33
33
  export interface IUser extends Entity {
34
34
  name: string;
35
35
  email: string;
36
- };
36
+ }
37
37
 
38
38
  /******************************************************************************
39
39
  Setup
@@ -1 +1,22 @@
1
- {"users":[{"id":73635186571,"name":"Bill","email":"sean.maxwell@gmail.com","created":"2026-01-28T05:23:46.132Z"},{"id":438243754038,"name":"John Smith","email":"john.smith@gmail.com","created":"2026-01-28T05:23:46.132Z"},{"id":948123879878,"name":"Gordan Freeman","email":"gordan.freeman@gmail.com","created":"2026-01-28T05:23:46.132Z"}]}
1
+ {
2
+ "users": [
3
+ {
4
+ "id": 73635186571,
5
+ "name": "Bill",
6
+ "email": "sean.maxwell@gmail.com",
7
+ "created": "2026-01-28T05:23:46.132Z"
8
+ },
9
+ {
10
+ "id": 438243754038,
11
+ "name": "John Smith",
12
+ "email": "john.smith@gmail.com",
13
+ "created": "2026-01-28T05:23:46.132Z"
14
+ },
15
+ {
16
+ "id": 948123879878,
17
+ "name": "Gordan Freeman",
18
+ "email": "gordan.freeman@gmail.com",
19
+ "created": "2026-01-28T05:23:46.132Z"
20
+ }
21
+ ]
22
+ }
@@ -5,5 +5,7 @@ import { PlainObject } from 'jet-validators';
5
5
  Types
6
6
  ******************************************************************************/
7
7
 
8
- export type Req = Request<PlainObject, void, PlainObject, PlainObject>;
9
- export type Res = Response<unknown, PlainObject>;
8
+ type UrlParams = Record<string, string>;
9
+
10
+ export type Req = Request<UrlParams, void, PlainObject>;
11
+ export type Res = Response;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "express-generator-typescript",
3
- "version": "2.7.17",
3
+ "version": "2.7.18",
4
4
  "description": "Generate new Express applications similar to express-generate which but sets it up to use TypeScript instead",
5
5
  "scripts": {
6
6
  "express-generator-typescript": "node bin/cli.js",