소스 검색

Make ts happy

Popov72 5 년 전
부모
커밋
e120325018
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      nodeEditor/src/diagram/graphCanvas.tsx

+ 1 - 1
nodeEditor/src/diagram/graphCanvas.tsx

@@ -743,7 +743,7 @@ export class GraphCanvasComponent extends React.Component<IGraphCanvasComponentP
                 [inputBlock, pointName] = customInputBlock;
             }
             this.props.globalState.nodeMaterial.attachedBlocks.push(inputBlock);
-            pointA = inputBlock[pointName];
+            pointA = (inputBlock as any)[pointName];
             nodeA = this.appendBlock(inputBlock);
             
             nodeA.x = this._dropPointX - 200;