Skip to content

Commit

Permalink
improve deprecation comments
Browse files Browse the repository at this point in the history
  • Loading branch information
timfish committed Jan 2, 2025
1 parent 30bcb00 commit c33d4cd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/renderer/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ interface ElectronRendererOptions extends Omit<BrowserOptions, 'dsn' | 'environm
*/
anrDetection?: Partial<RendererProcessAnrOptions> | boolean;

/** @deprecated dsn should only be passed in the main process */
/** @deprecated `dsn` should only be passed to the main process `Sentry.init` call */
dsn?: string;
/** @deprecated release should only be passed in the main process */
/** @deprecated `release` should only be passed to the main process `Sentry.init` call */
release?: string;
/** @deprecated environment should only be passed in the main process */
/** @deprecated `environment` should only be passed to the main process `Sentry.init` call */
environment?: string;
}

Expand Down

0 comments on commit c33d4cd

Please sign in to comment.