Skip to content

Commit 31f2810

Browse files
committed
chore(docs): update note about type checking
1 parent e7986c5 commit 31f2810

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

docs/content/en/guide/setup.md

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,6 @@ See [Options](/sentry/options) for a list of available options.
5454

5555
Note that the Sentry SDK dependencies (`@sentry/*`) are not pinned and can be updated independently from the module itself by running `npm upgrade @nuxtjs/sentry` or `yarn upgrade @nuxtjs/sentry`. That means you don't have to wait for a new module release if you want to update to the latest SDK version.
5656

57-
<alert type="info">
58-
59-
For Typescript or type-checked JavaScript projects, you might have to install the `@sentry/tracing` package even when not using the tracing functionality. In that case, the package can be installed as a dev-only dependency.
60-
61-
</alert>
62-
6357
## Types
6458

6559
In Typescript or type-checked JavaScript projects, add `@nuxtjs/sentry` to the `types` array in `tsconfig.json` to enable module types.
@@ -73,3 +67,11 @@ In Typescript or type-checked JavaScript projects, add `@nuxtjs/sentry` to the `
7367
}
7468
}
7569
```
70+
71+
<alert type="info">
72+
73+
The otherwise optional packages `@sentry/tracing` and `@sentry/webpack-plugin` have to be installed for types to be fully working.
74+
75+
If not using the relevant functionality (`tracing` and `publishRelease` options are not enabled) then those packages can be installed as dev-only dependencies.
76+
77+
</alert>

0 commit comments

Comments
 (0)