Custom Plugin is not type safe.

I added the cart plugin as a client to my better auth instance, but when I try to access apiClient.cart.someMethod my IDE thinks it doesn't exist, but the method works on dev/prod instance. how can I let the IDE auto complete these types?
image.png
image.png
Was this page helpful?