window.d.ts in Parse.ly 3.7.1, at src/@types/assets/window.d.ts
| 1 | /** |
| 2 | * External dependencies. |
| 3 | */ |
| 4 | import type{ _Hooks } from '@wordpress/hooks/build-types/createHooks'; |
| 5 | |
| 6 | export {}; |
| 7 | |
| 8 | declare global { |
| 9 | interface Window { |
| 10 | // eslint-disable-next-line @typescript-eslint/no-explicit-any |
| 11 | wp: any; |
| 12 | |
| 13 | /** |
| 14 | * Parsely Options |
| 15 | */ |
| 16 | PARSELY?: { |
| 17 | config?: { |
| 18 | uuid: string, |
| 19 | parsely_site_uuid: string, |
| 20 | }, |
| 21 | autotrack?: boolean, |
| 22 | onload?: () => unknown, |
| 23 | onReady?: () => unknown, |
| 24 | }, |
| 25 | wpParselySiteId: string, |
| 26 | wpParselyDisableAutotrack?: boolean; |
| 27 | wpParselyHooks?: _Hooks; |
| 28 | wpParselyPostsStatsResponse: string; |
| 29 | } |
| 30 | } |
| 31 |