remoteStorage

Typescript Support


#1

Does anyone have TypeScript type definitions for this awesome library? Thank you.


#2

I’m not aware of any, but personally I’ve become a bit of a TypeScript fan recently. Would you be willing to create a definitions file perhaps? The API docs should cover all of the public API sufficiently.


#3

Thanks for your reply. I would love to create a definitions file, but my past efforts at typing JavaScript libraries have been woefully unsuccessful, even with the automated tools (which never get you 100% there). Coming from a C# background, JavaScript seems like gobbledygook to me. Creating good type defs requires an expert in both TypeScript and JavaScript.

I believe RemoteStorage is the data model of the future. I hope someone makes it available for TypeScript users.


#4

OK. I added an issue for it to the repo:


#5

Thank you!