Skip to content

Commit e02f1a5

Browse files
committed
doc: add comment
1 parent bed3433 commit e02f1a5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/types/monaco.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import { IRange } from 'monaco-editor'
33
declare module 'monaco-editor' {
44
namespace editor {
55
interface IStandaloneCodeEditor {
6+
// This method is internal and is supposed to be used by the folding feature
7+
// We still use it to hide parts of the code in the `hideCodeWithoutDecoration` function
68
setHiddenAreas(ranges: IRange[]): void
79
}
810
}

0 commit comments

Comments
 (0)