Skip to content

Commit

Permalink
update type definitions comments for 'debug' configuration parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilianoSanchez committed Aug 17, 2023
1 parent c27ac71 commit 424edc5
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions types/splitio.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,14 @@ interface IUserConsentAPI {
*/
interface ISharedSettings {
/**
* Whether the logger should be enabled or disabled by default.
* @property {Boolean} debug
* Boolean value to indicate whether the logger should be enabled or disabled, or a log level string.
*
* Examples:
* ```javascript
* config.debug = true
* config.debug = 'WARN'
* ```
* @property {boolean | LogLevel} debug
* @default false
*/
debug?: boolean | LogLevel,
Expand Down

0 comments on commit 424edc5

Please sign in to comment.