Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does IndexedDBShim have a TypeScript Definition file? #221

Open
hope4555 opened this issue Sep 7, 2015 · 5 comments
Open

Does IndexedDBShim have a TypeScript Definition file? #221

hope4555 opened this issue Sep 7, 2015 · 5 comments

Comments

@hope4555
Copy link

hope4555 commented Sep 7, 2015

Does IndexedDBShim has a TypeScript Definition file?
So we could easily use it in TypeScript?

@axemclion
Copy link
Collaborator

We wrote one for WebSQL, but i have not seen any for IndexedDB yet.

Would be a good contribution to have.

@hope4555
Copy link
Author

hope4555 commented Sep 7, 2015

Thank you
When using IndexedDBShim in typescript i guess we need a single Definition file and not one for WebSQL and other for IndexedDB. Am i correct?

@axemclion
Copy link
Collaborator

That is correct, you just need a typescript file for IndexedDB. The typescript definition is not specific for the shim as the shim is supposed to expose IndexedDB API anyway. If we have a definition file for IndexedDB, that would be good.

@steven-ayogo
Copy link

Dexie has typescript, so we use that. works with indeseddbshim

@brettz9 brettz9 changed the title Does IndexedDBShim has a TypeScript Definition file? Does IndexedDBShim have a TypeScript Definition file? Oct 18, 2016
@brettz9
Copy link
Collaborator

brettz9 commented Oct 19, 2016

@steven-ayogo : But I don't see Dexie having TypeScript definitions for the full IndexedDB API, no?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants