Skip to content

Commit f3bee5f

Browse files
committed
fix: lint 오류 수정
1 parent 0fcc1fd commit f3bee5f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

apps/backend/src/yjs/yjs.service.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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

0 commit comments

Comments
 (0)