Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb804b1e

Browse files
committed
lint
1 parent8d604e1 commitb804b1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/y-quill.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ export class QuillBinding {
121121
// always check selection
122122
if(awareness&&quillCursors){
123123
constsel=quill.getSelection()
124-
constaw=awareness.getLocalState()
124+
constaw=/**@type {any} */(awareness.getLocalState())
125125
if(sel===null){
126126
if(awareness.getLocalState()!==null){
127-
awareness.setLocalStateField('cursor',null)
127+
awareness.setLocalStateField('cursor',/**@type {any} */(null))
128128
}
129129
}else{
130130
constanchor=Y.createRelativePositionFromTypeIndex(type,sel.index)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp