@types/shimmer
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -5,3 +5,3 @@ // Type definitions for Shimmer 1.x | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.4 | ||
// TypeScript Version: 2.2 | ||
@@ -16,19 +16,19 @@ declare global { | ||
(options: { logger?(msg: string): void }): void; | ||
wrap<T extends (...args: any[]) => any>( | ||
nodule: object, | ||
name: string, | ||
wrapper: (original: T) => T | ||
wrap<Nodule extends object, FieldName extends keyof Nodule>( | ||
nodule: Nodule, | ||
name: FieldName, | ||
wrapper: (original: Nodule[FieldName]) => Nodule[FieldName] | ||
): void; | ||
massWrap<T extends (...args: any[]) => any>( | ||
nodules: object[], | ||
names: string[], | ||
wrapper: (original: T) => T | ||
massWrap<Nodule extends object, FieldName extends keyof Nodule>( | ||
nodules: Nodule[], | ||
names: FieldName[], | ||
wrapper: (original: Nodule[FieldName]) => Nodule[FieldName] | ||
): void; | ||
unwrap( | ||
nodule: object, | ||
name: string | ||
unwrap<Nodule extends object>( | ||
nodule: Nodule, | ||
name: keyof Nodule | ||
): void; | ||
massUnwrap( | ||
nodules: object[], | ||
names: string[] | ||
massUnwrap<Nodule extends object>( | ||
nodules: Nodule[], | ||
names: Array<keyof Nodule> | ||
): void; | ||
@@ -35,0 +35,0 @@ }; |
{ | ||
"name": "@types/shimmer", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "TypeScript definitions for Shimmer", | ||
@@ -20,4 +20,4 @@ "license": "MIT", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "58eebdc60aad150c87a00b78dc60a0450738f2df2fa76b020d543e1f148d68ae", | ||
"typeScriptVersion": "2.4" | ||
"typesPublisherContentHash": "a910c9df13d29060afe131feef552b68bde96d877b7499f4ce16a1ca7ba2558f", | ||
"typeScriptVersion": "2.2" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Wed, 06 Dec 2017 20:10:39 GMT | ||
* Last updated: Thu, 01 Mar 2018 18:48:33 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
3347