@e22m4u/ts-rest-router 0.2.2 → 0.2.3

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.
@@ -18,7 +18,7 @@ export declare class ControllerRegistry extends DebuggableService {
18
18
  /**
19
19
  * Controllers.
20
20
  */
21
- controllers: Set<unknown>;
21
+ controllers: Set<Constructor<object>>;
22
22
  /**
23
23
  * Add controller.
24
24
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@e22m4u/ts-rest-router",
3
- "version": "0.2.2",
3
+ "version": "0.2.3",
4
4
  "description": "REST маршрутизатор на основе контроллеров для TypeScript",
5
5
  "author": "e22m4u <e22m4u@yandex.ru>",
6
6
  "license": "MIT",
@@ -35,7 +35,7 @@ export class ControllerRegistry extends DebuggableService {
35
35
  /**
36
36
  * Controllers.
37
37
  */
38
- controllers = new Set();
38
+ controllers: Set<Constructor<object>> = new Set();
39
39
 
40
40
  /**
41
41
  * Add controller.