We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6d878bf commit 36a6595Copy full SHA for 36a6595
codemirror-extension/src/index.ts
@@ -38,7 +38,7 @@ const stripe = Decoration.line({
38
39
// Create the range of lines requiring decorations
40
function stripeDeco(view: EditorView) {
41
- const step = view.state.facet(stepSize);
+ const step = view.state.facet(stepSize) as number;
42
const builder = new RangeSetBuilder<Decoration>();
43
for (const { from, to } of view.visibleRanges) {
44
for (let pos = from; pos <= to; ) {
0 commit comments