@naturalcycles/nodejs-lib 12.67.0 → 12.67.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,6 @@
1
1
  import { MemoCache } from '@naturalcycles/js-lib';
2
2
  import LRUCache = require('lru-cache');
3
- export interface LRUMemoCacheOptions<KEY, VALUE> extends Partial<LRUCache.Options<KEY, VALUE>> {
4
- }
3
+ export declare type LRUMemoCacheOptions<KEY, VALUE> = Partial<LRUCache.Options<KEY, VALUE>>;
5
4
  /**
6
5
  * @example
7
6
  * Use it like this:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturalcycles/nodejs-lib",
3
- "version": "12.67.0",
3
+ "version": "12.67.1",
4
4
  "scripts": {
5
5
  "prepare": "husky install",
6
6
  "docs-serve": "vuepress dev docs",
@@ -2,7 +2,7 @@ import { MemoCache } from '@naturalcycles/js-lib'
2
2
  import LRUCache = require('lru-cache')
3
3
 
4
4
  // Partial, to be able to provide default `max`
5
- export interface LRUMemoCacheOptions<KEY, VALUE> extends Partial<LRUCache.Options<KEY, VALUE>> {}
5
+ export type LRUMemoCacheOptions<KEY, VALUE> = Partial<LRUCache.Options<KEY, VALUE>>
6
6
 
7
7
  /**
8
8
  * @example