TanStackT
TanStackโ€ข6mo agoโ€ข
13 replies
clean-aquamarine

Type inference issue with MomentJS

Hello! I discovered this library recently andI have been trying to see if it could fit our needs in our project. As I was testing for a date field with MUI and MomentJS, I started facing a "Type instantiation is excessively deep and possibly infinite" error from TypeScript.
Based on the FAQ, it seems it could by an issue on your side, so I made a small reproduction: https://codesandbox.io/p/devbox/confident-smoke-hyn4nl
It's also possible I'm doing something wrong, but then I don't know what ๐Ÿ˜…
Thanks a lot for your help!
Was this page helpful?