Skip to content

Commit 3cf5f2b

Browse files
committed
fix: add missing monaco type
1 parent 6e643b3 commit 3cf5f2b

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/types/monaco.d.ts

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
import { IRange } from 'monaco-editor'
2+
3+
declare module 'monaco-editor' {
4+
namespace editor {
5+
interface IStandaloneCodeEditor {
6+
setHiddenAreas(ranges: IRange[]): void
7+
}
8+
}
9+
}

0 commit comments

Comments
 (0)