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

Resolves #389. Also update Promise interface. #394

Merged
merged 2 commits into from
Dec 16, 2016
Merged

Conversation

dfahlander
Copy link
Collaborator

Added [Symbol.toStringTag] property to Promise.prototype (in js and d.ts).
Removed Promise.onuncatched from d.ts.
Added Promise.timeout in d.ts.

Added [Symbol.toStringTag] property to Promise.prototype (in js and d.ts).
Removed Promise.onuncatched from d.ts.
Added Promise.timeout in d.ts.
Dexie.Promise is now compatible with Promise interface in lib.es2015.promise.d.ts and lib.es2015.symbol.wellknown.d.ts.

Also:
* More strict checks of transaction modes.
* Correction of Dexie.waitFor() to use PromiseLike instead of Promise.
* Simplified the declaration of all methods that have a 'then-shortcut-callback' as its last argument such as Table.get(), Table.toArray() etc.
@dfahlander dfahlander merged commit 407fbca into master Dec 16, 2016
@dfahlander dfahlander deleted the temp/fix389 branch December 16, 2016 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant