#indexeddb-types
The W3C IndexedDB IDL Definitions in JavaScript for Code Completion and Type Hinting in Your Editor.
#About
Most editors and IDEs are missing the W3C IndexedDB API. This repository contains all relevant definitions in JavaScript, so you can get code completion, parameter info, argument type hinting, return type hinting and wrong type assignment checks in yourIDE of choice.
The definitions are taken from the latest draft, which is at the time of writing the version published 16 May 2013.
#Usage
Clone / download this repository, or just download the IndexedDB.js
file. Then tell your editor / IDE to treat the IndexedDB.js
file as a library.
A detailed instruction can be found in this post.
#Notes
- This repository does not contain enum definitions like
IDBTransactionMode
orIDBRequestReadyState
. - If your editor chokes on the types
DOMStringList
orDOMError
, also include theIDL/DOMCore/DOMCore.js
file.