# getDefectSummary

Wafer map: per-class defect summary (`null` on other types).

Canonical: https://chart.syidax.com/ko/docs/methods/getDefectSummary/

<a id="definition"></a>

## 정의

```typescript
getDefectSummary(): Promise<{ total: number; offWafer: number; byClass: Array<{ key: string; count: number }> } | null>
```

반환 타입: `Promise<{ total: number; offWafer: number; byClass: Array<{ key: string; count: number }> } | null>`. 요소 등록이 끝난 뒤 메서드를 호출하고 Promise 결과를 await로 기다리세요.

<a id="related"></a>

## 관련 차트

- [sy-wafer-map](https://chart.syidax.com/ko/docs/components/wafer-map.md#method-getDefectSummary)
