@types/pouchdb-adapter-memory
Advanced tools
Comparing version 6.1.3 to 6.1.4
@@ -11,5 +11,4 @@ // Type definitions for pouchdb-adapter-memory 6.1 | ||
namespace MemoryAdapter { | ||
interface MemoryAdapterConfiguration | ||
extends Configuration.LocalDatabaseConfiguration { | ||
adapter: 'memory'; | ||
interface MemoryAdapterConfiguration extends Configuration.LocalDatabaseConfiguration { | ||
adapter: "memory"; | ||
} | ||
@@ -19,11 +18,12 @@ } | ||
interface Static { | ||
new<Content extends {}>(name: string | null, | ||
options: MemoryAdapter.MemoryAdapterConfiguration | ||
): Database<Content>; | ||
new<Content extends {}>( | ||
name: string | null, | ||
options: MemoryAdapter.MemoryAdapterConfiguration, | ||
): Database<Content>; | ||
} | ||
} | ||
declare module 'pouchdb-adapter-memory' { | ||
declare module "pouchdb-adapter-memory" { | ||
const plugin: PouchDB.Plugin; | ||
export = plugin; | ||
} |
{ | ||
"name": "@types/pouchdb-adapter-memory", | ||
"version": "6.1.3", | ||
"version": "6.1.4", | ||
"description": "TypeScript definitions for pouchdb-adapter-memory", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-memory", | ||
"license": "MIT", | ||
@@ -24,6 +25,7 @@ "contributors": [ | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/pouchdb-adapter-memory" | ||
}, | ||
@@ -34,4 +36,4 @@ "scripts": {}, | ||
}, | ||
"typesPublisherContentHash": "a81cd209f054db3ae0b29452092e816ff3e43ba31954d4ee480760844a7ad058", | ||
"typeScriptVersion": "2.3" | ||
"typesPublisherContentHash": "e48701aed0fd6082b3165fcb8abcc9e1a3ef30703e1776a22c6932467797a82c", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -5,13 +5,44 @@ # Installation | ||
# Summary | ||
This package contains type definitions for pouchdb-adapter-memory ( https://pouchdb.com/ ). | ||
This package contains type definitions for pouchdb-adapter-memory (https://pouchdb.com/). | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-memory | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-memory. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pouchdb-adapter-memory/index.d.ts) | ||
````ts | ||
// Type definitions for pouchdb-adapter-memory 6.1 | ||
// Project: https://pouchdb.com/, https://github.com/pouchdb/pouchdb | ||
// Definitions by: Simon Paulger <https://github.com/spaulg>, Brian Geppert <https://github.com/geppy>, Frederico Galvão <https://github.com/fredgalvao> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
Additional Details | ||
* Last updated: Wed, 13 Feb 2019 21:04:44 GMT | ||
* Dependencies: @types/pouchdb-core | ||
/// <reference types="pouchdb-core" /> | ||
declare namespace PouchDB { | ||
namespace MemoryAdapter { | ||
interface MemoryAdapterConfiguration extends Configuration.LocalDatabaseConfiguration { | ||
adapter: "memory"; | ||
} | ||
} | ||
interface Static { | ||
new<Content extends {}>( | ||
name: string | null, | ||
options: MemoryAdapter.MemoryAdapterConfiguration, | ||
): Database<Content>; | ||
} | ||
} | ||
declare module "pouchdb-adapter-memory" { | ||
const plugin: PouchDB.Plugin; | ||
export = plugin; | ||
} | ||
```` | ||
### Additional Details | ||
* Last updated: Sun, 24 Sep 2023 06:37:28 GMT | ||
* Dependencies: [@types/pouchdb-core](https://npmjs.com/package/@types/pouchdb-core) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Simon Paulger <https://github.com/spaulg>, Brian Geppert <https://github.com/geppy>, Frederico Galvão <https://github.com/fredgalvao>. | ||
These definitions were written by [Simon Paulger](https://github.com/spaulg), [Brian Geppert](https://github.com/geppy), and [Frederico Galvão](https://github.com/fredgalvao). |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4945
0
48