From 6e232e9657c12a55c6c6dd351f702c87bd548e73 Mon Sep 17 00:00:00 2001 From: Philip Peitsch Date: Sat, 17 May 2025 17:40:24 +1000 Subject: [PATCH 1/2] Correct typescript import recommendations --- docs/_guides/setup-pouchdb.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/_guides/setup-pouchdb.md b/docs/_guides/setup-pouchdb.md index 9ff1d914a8..938edbab50 100644 --- a/docs/_guides/setup-pouchdb.md +++ b/docs/_guides/setup-pouchdb.md @@ -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. From 7aa9afe90ad722393a565597a79cd9ca6dd019e8 Mon Sep 17 00:00:00 2001 From: Steven-John Lange Date: Wed, 2 Jul 2025 20:41:34 +0200 Subject: [PATCH 2/2] Trigger CI