fix: resolve syntax errors and missing brace in ProteinViewer #280
Annotations
7 errors
|
deploy
Process completed with exit code 2.
|
|
deploy:
src/components/ProteinViewer.tsx#L66
Subsequent property declarations must have the same type. Property 'restoreMeasurements' must be of type '(measurements: MeasurementData[]) => void', but here has type '(measurements: { atom1: any; atom2: any; }[]) => void'.
|
|
deploy:
src/components/ProteinViewer.tsx#L66
Duplicate identifier 'restoreMeasurements'.
|
|
deploy:
src/components/ProteinViewer.tsx#L65
Duplicate identifier 'getMeasurements'.
|
|
deploy:
src/components/ProteinViewer.tsx#L63
Duplicate identifier 'restoreMeasurements'.
|
|
deploy:
src/components/ProteinViewer.tsx#L62
Duplicate identifier 'getMeasurements'.
|
|
deploy:
src/App.tsx#L94
Argument of type '{ atom1: any; atom2: any; distance: number; }[]' is not assignable to parameter of type 'MeasurementData[]'.
|