Skip to content

Commit d773b6b

Browse files
committed
remove unneeded globals
1 parent dc4e34d commit d773b6b

File tree

1 file changed

+0
-7
lines changed
  • packages/consent/consent-tools-integration-tests/src/page-bundles/onetrust

1 file changed

+0
-7
lines changed

packages/consent/consent-tools-integration-tests/src/page-bundles/onetrust/index.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,6 @@
11
import { AnalyticsBrowser } from '@segment/analytics-next'
22
import { withOneTrust } from '@segment/analytics-consent-wrapper-onetrust'
33

4-
declare global {
5-
interface Window {
6-
withOneTrust: typeof import('@segment/analytics-consent-wrapper-onetrust').withOneTrust
7-
}
8-
}
9-
window.withOneTrust = withOneTrust
10-
114
const analytics = new AnalyticsBrowser()
125

136
withOneTrust(analytics).load(

0 commit comments

Comments
 (0)