docs: more consistency + minor updates (#24764)

Co-authored-by: RiskyMH <git@riskymh.dev>
This commit is contained in:
Michael H
2025-11-22 09:06:19 +11:00
committed by GitHub
parent 7ec1aa8c95
commit 4450d738fa
205 changed files with 429 additions and 504 deletions

View File

@@ -20,7 +20,7 @@ bun add @sentry/bun
Then, initialize the Sentry SDK with your Sentry DSN in your app's entry file. You can find your DSN in your Sentry project settings.
```js sentry.ts icon="/icons/typescript.svg"
```ts sentry.ts icon="/icons/typescript.svg"
import * as Sentry from "@sentry/bun";
// Ensure to call this before importing any other modules!
@@ -37,7 +37,7 @@ Sentry.init({
You can verify that Sentry is working by capturing a test error:
```js sentry.ts icon="/icons/typescript.svg"
```ts sentry.ts icon="/icons/typescript.svg"
setTimeout(() => {
try {
foo();