Skip to content

Commit

Permalink
Merge pull request #29 from Clever/INFRANG-6430
Browse files Browse the repository at this point in the history
export external methods correctly
  • Loading branch information
tnsardesai authored Sep 11, 2024
2 parents 6c5fc53 + 473d184 commit 59c4a64
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const external = (input_url: string) => ({
});

type discoveryMethod = keyof ReturnType<typeof discovery>;
type externalMethod = ReturnType<typeof external>;
type externalMethod = keyof ReturnType<typeof external>;

export { discovery, external, discoveryMethod, externalMethod };

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clever-discovery",
"version": "1.2.0",
"version": "1.2.1",
"description": "Node client library for service discovery",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down

0 comments on commit 59c4a64

Please sign in to comment.