Closed tylim88 closed 10 months ago
Technically I am fine with this, but seems like it fails the build (yarn build).
(It shows the error for the onEmojiClick, but I can confirm that it only happens with your change)
I don't have the time to debug this, but feel free to do any of the following:
Either of these is fine with me, I'd personally go with 1. because, as you noted, enums aren't great.
this is because the TS version of tsdx is too old (tsdx uses its own TS version in its node module)
tsdx seem dead
I replaced tsdx with dts-cli (a fork of tsdx)
I fixed all EmojiStyle type errors, the runtime code remain intact
type error
fix:
advise: don't use enum