Skip to content

Commit b4112b0

Browse files
authored
docs: Fix jsdocs param names (#13540)
Before submitting a pull request, please take a look at our [Contributing](https://github.com/getsentry/sentry-javascript/blob/master/CONTRIBUTING.md) guidelines and verify: - [x] If you've added code that should be tested, please add tests. - [x] Ensure your code lints and the test suite passes (`yarn lint`) & (`yarn test`).
1 parent 318c163 commit b4112b0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/types/src/scope.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ export interface Scope {
243243
/**
244244
* Capture a message for this scope.
245245
*
246-
* @param exception The exception to capture.
246+
* @param message The message to capture.
247247
* @param level An optional severity level to report the message with.
248248
* @param hint Optional additional data to attach to the Sentry event.
249249
* @returns the id of the captured message.
@@ -253,7 +253,7 @@ export interface Scope {
253253
/**
254254
* Capture a Sentry event for this scope.
255255
*
256-
* @param exception The event to capture.
256+
* @param event The event to capture.
257257
* @param hint Optional additional data to attach to the Sentry event.
258258
* @returns the id of the captured event.
259259
*/

0 commit comments

Comments
 (0)