File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ export class YjsService
167167 }
168168
169169 // YMap에 노드 정보를 넣어준다.
170- initializeYNodeMap ( nodes : Node [ ] , yMap : Y . Map < Object > ) : void {
170+ initializeYNodeMap ( nodes : Node [ ] , yMap : Y . Map < unknown > ) : void {
171171 nodes . forEach ( ( node ) => {
172172 const nodeId = node . id . toString ( ) ; // id를 string으로 변환
173173
@@ -207,7 +207,7 @@ export class YjsService
207207 }
208208
209209 // yMap에 edge 정보를 넣어준다.
210- initializeYEdgeMap ( edges : Edge [ ] , yMap : Y . Map < Object > ) : void {
210+ initializeYEdgeMap ( edges : Edge [ ] , yMap : Y . Map < unknown > ) : void {
211211 edges . forEach ( ( edge ) => {
212212 const edgeId = edge . id . toString ( ) ; // id를 string으로 변환
213213
@@ -223,7 +223,7 @@ export class YjsService
223223 }
224224
225225 // yXmlFragment에 content를 넣어준다.
226- initializePageContent ( content : Object , yXmlFragment : Y . XmlFragment ) {
226+ initializePageContent ( content : unknown , yXmlFragment : Y . XmlFragment ) {
227227 prosemirrorJSONToYXmlFragment ( novelEditorSchema , content , yXmlFragment ) ;
228228 }
229229
You can’t perform that action at this time.
0 commit comments