Skip to content

Commit

Permalink
fix: fix Logger type definitions (#172)
Browse files Browse the repository at this point in the history
* Fix TS types.

* bump version.

* revert version bump
  • Loading branch information
kirgene committed May 23, 2022
1 parent bfff9a1 commit c313848
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 148 deletions.
170 changes: 26 additions & 144 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,14 +50,14 @@
"@mojaloop/api-snippets": "^13.0.11",
"@types/jest": "^27.5.1",
"@types/node": "^17.0.35",
"eslint": "8.15.0",
"eslint": "8.16.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-plugin-import": "2.26.0",
"jest": "^28.1.0",
"jest-junit": "^13.2.0",
"nock": "^13.2.4",
"npm-audit-resolver": "3.0.0-7",
"npm-check-updates": "^13.0.1",
"npm-check-updates": "^13.0.3",
"pre-commit": "^1.2.2",
"replace": "^1.2.1",
"standard-version": "^9.5.0",
Expand Down
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -578,12 +578,12 @@ declare namespace SDKStandardComponents {

interface LoggerConstructorParams {
ctx?: unknown
stringify?: BuildStringify
stringify?: Stringify
opts?: LoggerOptions
}

interface LoggerConfigureParams {
stringify?: BuildStringify
stringify?: Stringify
opts?: LoggerOptions
}

Expand Down

0 comments on commit c313848

Please sign in to comment.