From b4112b0ca5d49f87a365cca8d91f04293c4d9f4c Mon Sep 17 00:00:00 2001 From: Matt Huggins Date: Mon, 2 Sep 2024 06:31:08 -0500 Subject: [PATCH] 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`). --- packages/types/src/scope.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/types/src/scope.ts b/packages/types/src/scope.ts index ccce883d3366..aa51c69035f1 100644 --- a/packages/types/src/scope.ts +++ b/packages/types/src/scope.ts @@ -243,7 +243,7 @@ export interface Scope { /** * Capture a message for this scope. * - * @param exception The exception to capture. + * @param message The message to capture. * @param level An optional severity level to report the message with. * @param hint Optional additional data to attach to the Sentry event. * @returns the id of the captured message. @@ -253,7 +253,7 @@ export interface Scope { /** * Capture a Sentry event for this scope. * - * @param exception The event to capture. + * @param event The event to capture. * @param hint Optional additional data to attach to the Sentry event. * @returns the id of the captured event. */