@glideapps/ts-necessities
Advanced tools
Comparing version 2.3.1 to 2.3.2
@@ -56,2 +56,5 @@ /** | ||
}; | ||
export type DeepReadonly<T> = { | ||
readonly [P in keyof T]: DeepReadonly<T[P]>; | ||
}; | ||
/** | ||
@@ -58,0 +61,0 @@ * If `x` is undefined, return `undefined`. Otherwise, return `f(x)`. |
@@ -181,2 +181,5 @@ "use strict"; | ||
return ""; | ||
if (hasOwnProperty(e, "message") && typeof e.message === "string") { | ||
return e.message; | ||
} | ||
try { | ||
@@ -183,0 +186,0 @@ return e.toString(); |
{ | ||
"name": "@glideapps/ts-necessities", | ||
"version": "2.3.1", | ||
"version": "2.3.2", | ||
"description": "Small utilities to make life with TypeScript easier", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
38289
856