feat(checkbox): apply a generic type to the checked type of Checkbox #1244
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Self Checklist
CODEOWNERSfile.Related Issue
None
Summary
Checkbox컴포넌트의checkedprop에 제네릭 타입을 적용합니다.Details
checked의 타입,CheckedState는boolean | 'indeterminate'입니다. 여기서'indeterminate'타입은 체크박스 유즈 케이스상 사용처가 거의 없고, 대부분은boolean으로만 상태를 컨트롤합니다. 이러한 대부분의 케이스에서 불필요한'indeterminate'타입이 에러를 발생시키는 불편함을 해소하기위해checkedprop에 제네릭 타입을 적용합니다.Breaking change or not (Yes/No)
No
References
None