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