hunk.code_window:         originalEditor.setValue(props.code)
           if (selection)
             originalEditor.setSelection(selection)
         }
         if (modifiedEditor.getValue().toString() !== props.diff) {
           const selection = modifiedEditor.getSelection()
           modifiedEditor.setValue(props.diff)
  
hunk.labels: keep keep keep add keep keep keep keep
hunk.after_edit:       originalEditor.updateOptions(props.editorOptions)
  
hunk.file_path: packages/client/iframes/monaco/index.ts
hunk.type: add
file: 
  
  declare interface Window {
    // extend the window
  }
  
  declare module '*.vue';
  
  // with unplugin-vue-markdown, markdowns can be treat as Vue components
  declare module '*.md' {
    import type { ComponentOptions } from 'vue'
    const component: ComponentOptions
    export default component
  }
  
  declare module '/@slidev/configs' {
    import { SlidevConfig } from '@slidev/types'
    export default SlidevConfig
  }
  
  declare module 'mermaid/dist/mermaid.esm.mjs' {
    import Mermaid from 'mermaid/dist/mermaid.d.ts'
    export default Mermaid
  }
  