-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#26 - Temporarily split tests and add extension d.ts files to allow p…
…eople to relax es6 constraints on loose properties by putting a `[x: string]: any` on base types
- Loading branch information
Showing
5 changed files
with
116 additions
and
90 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
|
||
/// <reference path="pouchdb.d.ts" /> | ||
|
||
declare module pouchdb { | ||
module api { | ||
module methods { | ||
interface BaseDoc { | ||
[x: string]: any; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
/// <reference path="pouchdb.d.ts" /> | ||
|
||
declare module pouchdb { | ||
module options { | ||
module ctor { | ||
/** PouchDB constructor options that can be used on custom plugins and adapters */ | ||
interface CustomDb { | ||
/** | ||
* Enables custom options to be passed to plugins or adapters | ||
*/ | ||
[x: string]: any; | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.