mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-11 20:40:20 +00:00
Merge pull request #2767 from mhegazy/pouchDBTests
Add missing 'new' to PouchDB test
This commit is contained in:
@@ -9,7 +9,7 @@ window.alert = function (thing?: string) {
|
||||
var pouch: PouchDB;
|
||||
|
||||
function pouchTests() {
|
||||
PouchDB('testdb', function (err: PouchError, res: PouchDB) {
|
||||
new PouchDB('testdb', function (err: PouchError, res: PouchDB) {
|
||||
if (err) {
|
||||
alert('Error ' + err.status + ' occurred ' + err.error + ' - ' + err.reason);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user