Skip to content

Commit 10ea060

Browse files
committed
Switch from exclamation point to declare syntax for type-only properties
1 parent 1c0d160 commit 10ea060

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tooltip.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ class CompletionTooltip {
6565
dom: HTMLElement
6666
info: HTMLElement | null = null
6767
infoDestroy: (() => void) | null = null
68-
list!: HTMLElement
68+
declare list: HTMLElement
6969
placeInfoReq = {
7070
read: () => this.measureInfo(),
7171
write: (pos: {style?: string, class?: string} | null) => this.placeInfo(pos),

0 commit comments

Comments
 (0)