Skip to content

Commit

Permalink
UPDATE(angular) typescript for #576
Browse files Browse the repository at this point in the history
  • Loading branch information
pubkey committed Mar 19, 2018
1 parent ef1b41f commit 25bea78
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 2 additions & 1 deletion examples/angular2/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"description": "",
"scripts": {
"preinstall": "node ./scripts/ensure-equal-versions.js",
"postinstall": "rimraf ./package-lock.json",
"start": "concurrently \"npm run server\" \"npm run dev\"",
"server": "pouchdb-server --host 0.0.0.0 -p 10101 -m -d /tmp/pouchdb-server/ -n true",
"dev": "npm-run-all --parallel dev:serve",
Expand Down Expand Up @@ -82,7 +83,7 @@
"testcafe": "0.17.1",
"testcafe-hammerhead": "11.2.1",
"tslint": "5.8.0",
"typescript": "2.6.1",
"typescript": "2.7.2",
"url-loader": "0.6.2",
"webpack": "3.8.1",
"webpack-dev-middleware": "1.12.0",
Expand Down
3 changes: 1 addition & 2 deletions src/typings/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,9 @@ export const removeDatabase: removeDatabaseType;

type QueryChangeDetector = {
enableDebugging: () => void,
enable: (to: boolean) => void
enable: (to?: boolean) => void
};


export function checkAdapter(adapter: any | string): Promise<boolean>;

export const QueryChangeDetector: {
Expand Down

0 comments on commit 25bea78

Please sign in to comment.