Open tenoriojuann opened 9 months ago
Hi Juan, Is this what you're after? I added an optional generic type to all of the node methods that is reflected in the return types. https://github.com/gitana/cloudcms-javascript-driver/commit/26718f17d655c5b57d790338fa0c6ec91d4d4cbf
Hi,
Yes please, that would be really helpful!
Hi Juan, I've just pushed this and a bit more including some examples in the newly released 0.2.22 version. Let us know if it works for you
thank you!
Please add generics to all the query methods so that we can pass our interfaces.
https://github.com/gitana/cloudcms-javascript-driver/blob/409b2b236c9c0e3ebafb998c038c765e88eb448c/%40types/index.d.ts#L439