Skip to content

Commit c03936c

Browse files
Swap Back to Named Export
Forces standard naming, so that docs/comms can be better. if a custom name is needed, do an import name override.
1 parent 340be2d commit c03936c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/dataGateway/TypeScript/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type * from './sdk/models/index.js';
1313
* @param baseUrl Root of the URL that should have endpoints appended to it by the query building system.
1414
* @returns Configured API client that is able to make requests against SHI Data Gateway.
1515
*/
16-
export default function dataGatewayClientFactory(credential: TokenCredential, baseUrl?: URL) {
16+
export function dataGatewayClientFactory(credential: TokenCredential, baseUrl?: URL) {
1717
// #region Input Validation
1818
assert(credential);
1919

src/shield/TypeScript/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type * from './sdk/models/index.js';
1313
* @param baseUrl Root of the URL that should have endpoints appended to it by the query building system.
1414
* @returns Configured API client that is able to make requests against the specified SHIELD instance.
1515
*/
16-
export default function shieldClientFactory(credential: TokenCredential, baseUrl: URL) {
16+
export function shieldClientFactory(credential: TokenCredential, baseUrl: URL) {
1717
// #region Input Validation
1818
assert(credential);
1919

0 commit comments

Comments
 (0)