Commit 06df796
committed
refactor(editor): infer Monaco types from public APIs
Replace direct monaco-editor type imports in AgentEditor with
types inferred from OnMount and setModelMarkers.
This reduces coupling to Monaco internals and keeps the editor
typed against the APIs already used by @monaco-editor/react.refactor(editor): infer Monaco types from public APIs
Replace direct monaco-editor type imports in AgentEditor with
types inferred from OnMount and setModelMarkers.
This reduces coupling to Monaco internals and keeps the editor
typed against the APIs already used by @monaco-editor/react.1 parent d7de131 commit 06df796
1 file changed
+2
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
16 | 15 | | |
17 | 16 | | |
18 | 17 | | |
19 | | - | |
| 18 | + | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
40 | 39 | | |
41 | 40 | | |
42 | 41 | | |
43 | | - | |
| 42 | + | |
44 | 43 | | |
45 | 44 | | |
46 | 45 | | |
| |||
0 commit comments