Property 'editor' does not exist on type 'Window & typeof globalThis'. code example
Example: Property 'editor' does not exist on type 'Window & typeof globalThis'.
declare global {
interface Window { MyNamespace: any; }
}
window.MyNamespace = window.MyNamespace || {};