Skip to content

Commit 7035b44

Browse files
committed
feat: Update return type of createDecorations
1 parent 85afc7c commit 7035b44

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

packages/test-case-component/src/helpers.ts

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,11 +50,8 @@ function createDecorations(
5050
thatMark?: TargetPlainObject[]
5151
}
5252
} = {} // Default to an empty object
53-
): DecorationItem[] {
54-
const { marks, ide, lines, selections, thatMark /* command */ } = options
55-
if (thatMark) {
56-
console.log("📅", thatMark)
57-
}
53+
): DecorationItem[][] {
54+
const { marks, ide, lines, selections, thatMark, sourceMark } = options
5855

5956
const decorations: DecorationItem[] = [];
6057
const markDecorations = getMarkDecorations({ marks, lines })

0 commit comments

Comments
 (0)