class-enum icon indicating copy to clipboard operation
class-enum copied to clipboard

fix: `EnumNotFound` not thrown when running valueOf with the name of an element in Object.prototype

Open Octoping925 opened this issue 1 year ago • 1 comments

배경

Object.prototype의 요소인, toString,valueOf 등의 이름으로 class-enum의 valueOf를 수행할 경우 EnumNotFound가 던져지지 않는 문제가 있습니다.

수정 사항

getEnums 함수의 리턴 타입을 Map으로 수정했습니다.

Octoping925 avatar Dec 23 '24 08:12 Octoping925

good. thank you.

leejaycoke avatar Jan 04 '25 08:01 leejaycoke