rollbar / rollbar.js

Error tracking and logging from Javascript to Rollbar
https://docs.rollbar.com/docs/javascript
MIT License
571 stars 213 forks source link

Typescript: make type for person.id nullable #1074

Closed waltjones closed 1 year ago

waltjones commented 1 year ago

Description of the change

person.id in the Rollbar config should be nullable as documented.

Example:

    payload: {
      person: {
        id: null
      }
    }

This PR makes the Typescript type definition nullable.

Type of change

Related issues

Fixes https://github.com/rollbar/rollbar.js/issues/1058

https://app.shortcut.com/rollbar/story/120519

Development

Code review