Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ts-essentials

Package Overview
Dependencies
Maintainers
1
Versions
60
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ts-essentials - npm Package Compare versions

Comparing version 6.0.1 to 6.0.2

6

dist/types.d.ts

@@ -13,6 +13,6 @@ /** Essentials */

* Like Dictionary, but ensures type safety of index access.
* Does not not have a second argument, because using Dictionary<T, 'a' | 'b'>
* already enforces that all of the keys are present.
* Note that only using an infinite type (`string` or `number`) as key type makes sense here,
* because using `Dictionary<T, 'a' | 'b'>` already enforces that all of the keys are present.
*/
export declare type SafeDictionary<T> = Dictionary<T | undefined>;
export declare type SafeDictionary<T, K extends string | number = string> = Dictionary<T | undefined, K>;
/** Like Partial but recursive */

@@ -19,0 +19,0 @@ export declare type DeepPartial<T> = T extends Builtin ? T : T extends Map<infer K, infer V> ? Map<DeepPartial<K>, DeepPartial<V>> : T extends ReadonlyMap<infer K, infer V> ? ReadonlyMap<DeepPartial<K>, DeepPartial<V>> : T extends WeakMap<infer K, infer V> ? WeakMap<DeepPartial<K>, DeepPartial<V>> : T extends Set<infer U> ? Set<DeepPartial<U>> : T extends ReadonlySet<infer U> ? ReadonlySet<DeepPartial<U>> : T extends WeakSet<infer U> ? WeakSet<DeepPartial<U>> : T extends Array<infer U> ? T extends IsTuple<T> ? {

@@ -14,3 +14,3 @@ {

],
"version": "6.0.1",
"version": "6.0.2",
"main": "dist/index.js",

@@ -17,0 +17,0 @@ "types": "dist/index.d.ts",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc