The TypeScript code is set up assuming ES6 modules with a default export are used, but in practice dexie.js does not use a default export.
Trying to subclass Dexie then fails:
import Dexie from 'dexie';
class MyDB extends Dexie {
// ...
}
Generates the following JS:
var dexie_1 = require('dexie');
var MyDB = (function(_super) {
__extends(this, _super);
// ...
})(dexie_1.default);
When running in Browserify, dexie_1.default is undefined, leading to an error when the __extends helper tries to inherit the prototype.