window.ts 784 B

12345678910111213141516171819202122232425262728293031
  1. import 'recurly__recurly-js'
  2. import { ScopeValueStore } from './ide/scope-value-store'
  3. import { MetaAttributesCache } from '@/utils/meta'
  4. declare global {
  5. // eslint-disable-next-line no-unused-vars
  6. interface Window {
  7. metaAttributesCache: MetaAttributesCache
  8. MathJax: Record<string, any>
  9. // For react-google-recaptcha
  10. recaptchaOptions?: {
  11. enterprise?: boolean
  12. useRecaptchaNet?: boolean
  13. }
  14. expectingLinkedFileRefreshedSocketFor?: string | null
  15. writefull?: {
  16. type: 'extension' | 'integration'
  17. }
  18. WritefullStub?: any
  19. io?: any
  20. overleaf: {
  21. unstable: {
  22. store: ScopeValueStore
  23. }
  24. }
  25. ga?: (...args: any) => void
  26. gtag?: (...args: any) => void
  27. propensity?: (propensityId?: string) => void
  28. }
  29. }