@hedia/types 2.1.52-alpha.1 → 2.1.52-alpha.2

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.
@@ -17,9 +17,7 @@ export declare namespace AuthService {
17
17
  status: StatusCode;
18
18
  message: string;
19
19
  }
20
- interface IRegisterRequest extends ILoginRequest {
21
- }
22
- interface IRegisterResponse extends ILoginResponse {
23
- }
20
+ type IRegisterRequest = ILoginRequest;
21
+ type IRegisterResponse = ILoginResponse;
24
22
  }
25
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hedia/types",
3
- "version": "2.1.52-alpha.1",
3
+ "version": "2.1.52-alpha.2",
4
4
  "description": "Enums, interfaces, and other common types for use in Hedia's software.",
5
5
  "main": "dist/index.js",
6
6
  "repository": {
package/tslint.json CHANGED
@@ -79,7 +79,7 @@
79
79
  "no-duplicate-variable": true,
80
80
  "no-dynamic-delete": false,
81
81
  "no-empty": true,
82
- "no-empty-interface": false,
82
+ "no-empty-interface": true,
83
83
  "no-eval": true,
84
84
  "no-floating-promises": true,
85
85
  "no-for-in-array": true,
@@ -22,8 +22,8 @@ export namespace AuthService {
22
22
  message: string;
23
23
  }
24
24
 
25
- export interface IRegisterRequest extends ILoginRequest {}
25
+ export type IRegisterRequest = ILoginRequest;
26
26
 
27
- export interface IRegisterResponse extends ILoginResponse {}
27
+ export type IRegisterResponse = ILoginResponse;
28
28
  }
29
29
  }