@types/deep-freeze
Advanced tools
Comparing version 0.1.0 to 0.1.1
// Type definitions for deep-freeze 0.1 | ||
// Project: https://github.com/substack/deep-freeze | ||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds> | ||
// Definitions by: Bart van der Schoor <https://github.com/Bartvds>, Aluan Haddad <https://github.com/aluanhaddad> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -14,3 +14,5 @@ // TypeScript Version: 2.1 | ||
declare namespace deepFreeze { | ||
type DeepReadonly<T> = Readonly<{ [P in keyof T]: DeepReadonly<T[P]> }>; | ||
type DeepReadonly<T> = { | ||
readonly [P in keyof T]: DeepReadonly<T[P]> | ||
}; | ||
} |
{ | ||
"name": "@types/deep-freeze", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "TypeScript definitions for deep-freeze", | ||
@@ -10,2 +10,6 @@ "license": "MIT", | ||
"url": "https://github.com/Bartvds" | ||
}, | ||
{ | ||
"name": "Aluan Haddad", | ||
"url": "https://github.com/aluanhaddad" | ||
} | ||
@@ -21,4 +25,4 @@ ], | ||
"peerDependencies": {}, | ||
"typesPublisherContentHash": "c57d8e2950b90b583f63f56596fe9bf1566188619df1baace6b3d61d9c02b1b7", | ||
"typesPublisherContentHash": "28b45f6b2aace30ce39c917ab8afd884ade25eae20829a866a1b594b08a50b1f", | ||
"typeScriptVersion": "2.1" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 02 Jun 2017 01:33:56 GMT | ||
* Last updated: Mon, 05 Jun 2017 19:55:52 GMT | ||
* Dependencies: none | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Bart van der Schoor <https://github.com/Bartvds>. | ||
These definitions were written by Bart van der Schoor <https://github.com/Bartvds>, Aluan Haddad <https://github.com/aluanhaddad>. |
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
3110
14