Missing dependency typespecs

Hi,

is it possible to define custom types for external dependencies that don’t declare any ?

Thanks in advance

Could you give an example of what you have in mind?

I have integrated this binance library GitHub - dvcrn/binance.ex: Elixir wrapper for the Binance public API in a project which does not declare any specs.

So I was wondering if I could declare some in my project to get information about its structs…

Ah, as far as I’m aware you can’t do that. You should probably fork the library and put typespecs in yourself.

That’s what I suspected.

Thanks anyway :slight_smile: