mirror of
https://github.com/silvanocerza/github-gitless-sync.git
synced 2026-07-22 05:41:36 +00:00
Fix type checking issue
This commit is contained in:
parent
bb21bf6c2e
commit
8dfa1fe592
1 changed files with 2 additions and 1 deletions
|
|
@ -1,6 +1,7 @@
|
|||
import * as React from "react";
|
||||
import CodeMirror, {
|
||||
EditorState,
|
||||
Range,
|
||||
RangeSetBuilder,
|
||||
StateEffect,
|
||||
StateField,
|
||||
|
|
@ -306,7 +307,7 @@ const createBlockDecorations = (
|
|||
[rangesStateField],
|
||||
(state: EditorState) => {
|
||||
const ranges = state.field(rangesStateField);
|
||||
let widgets = [];
|
||||
let widgets: Range<Decoration>[] = [];
|
||||
|
||||
ranges.forEach((range: ConflictRange, index: number) => {
|
||||
if (range.source === "both") {
|
||||
|
|
|
|||
Loading…
Reference in a new issue