Skip to content

Commit

Permalink
Merge pull request #30 from quintoandar/ts/error
Browse files Browse the repository at this point in the history
fix: error TS2371: A parameter initializer is only allowed in a function or constructor implementation.
  • Loading branch information
garri-ribeiro authored Nov 28, 2023
2 parents ce87212 + ebbb0c6 commit 930c895
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "quintoandar-logger",
"version": "3.3.9",
"version": "3.3.10",
"description": "Winston logger with custom 5A configuration",
"main": "src/main.js",
"dependencies": {
Expand Down
2 changes: 1 addition & 1 deletion src/types.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ declare module quintoandar_logger {
function setTracer(newTracer: TracerBase): QuintoLogger
function startSentry(newSentryParams: SentryParams): QuintoLogger
function startSentry(newSentryParams: SentryParams, sentryFunc: SentryFunc): QuintoLogger
function obfuscator(content: unknown, after: string[] = [], keepList: string[] = []): unknown
function obfuscator(content: unknown, after?: string[], keepList?: string[]): unknown
function setShouldObfuscate(obf: boolean): QuintoLogger
function init(mod: NodeModule, sentryParamsInit?: SentryOptions, tracerInit?: TracerBase, obfuscation?: boolean): QuintoLogger

Expand Down

0 comments on commit 930c895

Please sign in to comment.