Skip to content

Commit

Permalink
Merge pull request #758 from splitio/type_definitions_update
Browse files Browse the repository at this point in the history
Update type definitions comments for 'debug' configuration parameter
  • Loading branch information
EmilianoSanchez authored Aug 23, 2023
2 parents 3e9f3cc + 95586d1 commit 321f617
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 321f617

Please sign in to comment.