Skip to content

Commit 676d0ef

Browse files
committed
Switched to named exports on some ported files
1 parent 783739a commit 676d0ef

5 files changed

Lines changed: 7 additions & 5 deletions

File tree

src/enumerations/content-type.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ enum ContentType {
77
Xml = "application/xml",
88
}
99

10-
export default ContentType;
10+
export { ContentType };

src/enumerations/http-header.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ enum HttpHeader {
33
ContentType = "Content-Type",
44
}
55

6-
export default HttpHeader;
6+
export { HttpHeader };

src/enumerations/http-verb.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,4 @@ enum HttpVerb {
66
Put = "PUT",
77
}
88

9-
export default HttpVerb;
9+
export { HttpVerb };

src/interfaces/service-response.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { ResultRecord } from "../view-models/result-record";
22

3-
export default interface ServiceResponse<T> {
3+
interface ServiceResponse<T> {
44
/**
55
* Result object containing detailed response information,
66
* such as; errors, result data, etc...
@@ -26,3 +26,5 @@ export default interface ServiceResponse<T> {
2626
*/
2727
status: number;
2828
}
29+
30+
export { ServiceResponse };

src/utilities/service-utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { AxiosResponse } from "axios";
2-
import ServiceResponse from "../interfaces/service-response";
2+
import { ServiceResponse } from "../interfaces/service-response";
33
import { Result } from "../interfaces/result";
44
import { ResultRecord } from "../view-models/result-record";
55
import { PagedResult } from "../interfaces/paged-result";

0 commit comments

Comments
 (0)