import 'vue-router' interface RymeraWebCoSTWObjInterface { pluginDirUrl: string collectionsApiUrl: string [key: string]: any } declare global { interface Window { savetowishlistObj: RymeraWebCoSTWObjInterface wp: any Cypress: any tinymce: any } } window.savetowishlistObj = window.savetowishlistObj ?? { pluginDirUrl: '', collectionsApiUrl: '' } /* |-------------------------------------------------------------------------- | Typescript error: TS2669 |-------------------------------------------------------------------------- | | Following code is just to avoid Typescript error: | TS2669: Augmentations for the global scope can only be directly nested in | external modules or ambient module declarations. | */ export { }