Fix Solid, SolidStart, and NestJS README snippet errors

Aperta
#24,548 1 commento 0 reazioni 1 assegnatario Vedi su GitHub

@nicohrubec ci sta già lavorando.

Dal 21/9/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Task

Fix copy/paste errors in three package README examples so they use the correct imports.

Solid and SolidStart

In packages/solid/README.md and packages/solidstart/README.md, the examples import withSentryRouterRouting from the dedicated /solidrouter entry point but call it on the main Sentry namespace, which does not export it. Use the function already imported:

- const SentryRouter = Sentry.withSentryRouterRouting(Router);
+ const SentryRouter = withSentryRouterRouting(Router);
NestJS

The cron example in packages/nestjs/README.md imports MonitorConfig twice, causing a duplicate identifier. Keep the type-only import from @sentry/core:

- import { SentryCron, MonitorConfig } from '@sentry/nestjs';
+ import { SentryCron } from '@sentry/nestjs';
  import type { MonitorConfig } from '@sentry/core';
Lingua principale
TypeScript
Stelle
8.7k
Fork
1.9k
Merge medio
1g 18h
PR unite (30g)
543

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di getsentry/sentry-javascript

Tutte le issue di getsentry/sentry-javascript

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.