length.js 408 B

12345678910
  1. "use strict";
  2. Object.defineProperty(exports, "__esModule", { value: true });
  3. var localforage_driver_commons_1 = require("localforage-driver-commons");
  4. function length(callback) {
  5. var promise = this.keys().then(function (keys$) { return keys$.length; });
  6. localforage_driver_commons_1.executeCallback(promise, callback);
  7. return promise;
  8. }
  9. exports.length = length;
  10. //# sourceMappingURL=length.js.map