({ root, ...options }: ViewOptions)
| 103 | root: HTMLElement |
| 104 | } |
| 105 | export const createCodeMirrorView = ({ root, ...options }: ViewOptions) => { |
| 106 | return new EditorView({ |
| 107 | state: createCodeMirrorState(options), |
| 108 | parent: root, |
| 109 | }) |
| 110 | } |
no test coverage detected