Skip to content

Commit 9c8939b

Browse files
authored
fix custom integration type 404 (#12067)
1 parent 887b408 commit 9c8939b

File tree

2 files changed

+3
-3
lines changed
  • docs/platforms

2 files changed

+3
-3
lines changed

docs/platforms/javascript/common/configuration/integrations/custom.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Learn how you can enable a custom integration."
66

77
In addition to the integrations that come with the SDK, you can also write custom integrations.
88

9-
Custom integration must conform to the [Integration interface](https://github.com/getsentry/sentry-javascript/blob/master/packages/types/src/integration.ts).
9+
Custom integration must conform to the [Integration interface](https://github.com/getsentry/sentry-javascript/blob/master/packages/core/src/types-hoist/integration.ts).
1010

1111
A custom integration can be created and added to the SDK as follows:
1212

docs/platforms/react-native/integrations/custom.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ description: "Learn how to enable a custom integration."
66

77
In addition to the integrations that come with the SDK, you can also write custom integrations.
88

9-
Custom integration must conform to the [Integration interface](https://github.com/getsentry/sentry-javascript/blob/master/packages/types/src/integration.ts).
9+
Custom integration must conform to the [Integration interface](https://github.com/getsentry/sentry-javascript/blob/master/packages/core/src/types-hoist/integration.ts).
1010

1111
A custom integration can be created and added to the SDK as follows:
1212

@@ -100,7 +100,7 @@ const integration = {
100100

101101
### `afterAllSetup`
102102

103-
While we recommend that you use the `setup` hook in most cases, `afterAllSetup` can be used to make sure that all other integrations have been run. This hook receives the `client` that is being set up as the first argument and is triggered after `setupOnce()` and `setup()` have been called for all integrations.
103+
While we recommend that you use the `setup` hook in most cases, `afterAllSetup` can be used to make sure that all other integrations have been run. This hook receives the `client` that is being set up as the first argument and is triggered after `setupOnce()` and `setup()` have been called for all integrations.
104104

105105

106106
```javascript

0 commit comments

Comments
 (0)