We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb5fa25 commit c3626ddCopy full SHA for c3626dd
src/sentry/static/sentry/app/constants/globalSelectionHeader.jsx renamed to src/sentry/static/sentry/app/constants/globalSelectionHeader.tsx
src/sentry/static/sentry/app/constants/index.jsx renamed to src/sentry/static/sentry/app/constants/index.tsx
@@ -99,7 +99,13 @@ export const SENTRY_APP_PERMISSIONS = [
99
100
export const DEFAULT_TOAST_DURATION = 6000;
101
102
-export const CSRF_COOKIE_NAME = window.csrfCookieName || 'sc';
+declare global {
103
+ interface Window {
104
+ csrfCookieName?: string;
105
+ }
106
+}
107
+
108
+export const CSRF_COOKIE_NAME: string = window.csrfCookieName || 'sc';
109
110
export const ALL_ENVIRONMENTS_KEY = '__all_environments__';
111
0 commit comments