How to import the API classes (noob)
costa opened this issue · comments
This is probably a noob's question (I've been forced into TS just recently): if I'd like to operate on objects provided by the API, e.g. getPhotos()
returning Array<iCloudPhotoAsset>
— and I seem to fail to import { iCloudPhotoAsset } from ...
anywhere... I really have no idea if it's something I'm missing with TS, or the package might be missing something — the latter seems crazy to me, coming from all the other languages, but I'll appreciate an advice.
Thanks for catching this, seems like those types arent exported.
Thanks, so, how do I import, say, iCloudPhotoAsset
?
Thanks, so, how do I import, say,
iCloudPhotoAsset
?
@foxt ?