Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/_guides/setup-pouchdb.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ In your `tsconfig.json` activate `allowSyntheticDefaultImports`:
Then in your TypeScript:

```typescript
import * as PouchDB from 'pouchdb';
import PouchDB from 'pouchdb';
```

You can install a plugin (provided there is a [type definition for it in npm](https://www.npmjs.com/search?q=scope:types%20pouchdb)), import it in the same way and then pass the imported name to `PouchDB.plugin()` method just as you would do in JavaScript.
Expand Down