Closed KarishmaBothara closed 3 years ago
nice! Small thing, but I noticed that not all the methods have their argument types defined. Is it possible to generate it for them all?
which method did you see this missing for 'derive queries' section?
nice! Small thing, but I noticed that not all the methods have their argument types defined. Is it possible to generate it for them all?
which method did you see this missing for 'derive queries' section?
ahh yup was looking at RPC calls sorry. Derives look all good.
looks, like @eupston accidentally closed it..
Used typedoc to generate typescript doc for derive and merged the generated doc with the module..
https://github.com/cennznet/api.js/blob/deriveDocs/docs/cennznet/nft.md https://github.com/cennznet/api.js/blob/deriveDocs/docs/cennznet/cennzx.md https://github.com/cennznet/api.js/blob/deriveDocs/docs/cennznet/staking.md
also add the interface to doc folder so that when user navigates thro' link in the document, it know what interface is used..