@types/shimmer
Advanced tools
Comparing version 1.0.1 to 1.0.2
@@ -9,3 +9,3 @@ // Type definitions for Shimmer 1.x | ||
interface Function { | ||
__wrapped?: boolean; | ||
__wrapped?: boolean | undefined; | ||
} | ||
@@ -12,0 +12,0 @@ } |
{ | ||
"name": "@types/shimmer", | ||
"version": "1.0.1", | ||
"version": "1.0.2", | ||
"description": "TypeScript definitions for Shimmer", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shimmer", | ||
"license": "MIT", | ||
@@ -14,10 +15,12 @@ "contributors": [ | ||
"main": "", | ||
"types": "index.d.ts", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://www.github.com/DefinitelyTyped/DefinitelyTyped.git" | ||
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git", | ||
"directory": "types/shimmer" | ||
}, | ||
"scripts": {}, | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "a910c9df13d29060afe131feef552b68bde96d877b7499f4ce16a1ca7ba2558f", | ||
"typeScriptVersion": "2.2" | ||
"typesPublisherContentHash": "af00decad6659a07e970e65aadcf2890d274cd5b583eb4090f7e3ae8b324755a", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -8,6 +8,45 @@ # Installation | ||
# Details | ||
Files were exported from https://www.github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shimmer | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shimmer. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/shimmer/index.d.ts) | ||
````ts | ||
// Type definitions for Shimmer 1.x | ||
// Project: https://github.com/othiym23/shimmer | ||
// Definitions by: Kelvin Jin <https://github.com/kjin> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.2 | ||
Additional Details | ||
* Last updated: Thu, 01 Mar 2018 18:48:33 GMT | ||
declare global { | ||
interface Function { | ||
__wrapped?: boolean | undefined; | ||
} | ||
} | ||
declare const shimmer: { | ||
(options: { logger?(msg: string): void }): void; | ||
wrap<Nodule extends object, FieldName extends keyof Nodule>( | ||
nodule: Nodule, | ||
name: FieldName, | ||
wrapper: (original: Nodule[FieldName]) => Nodule[FieldName] | ||
): void; | ||
massWrap<Nodule extends object, FieldName extends keyof Nodule>( | ||
nodules: Nodule[], | ||
names: FieldName[], | ||
wrapper: (original: Nodule[FieldName]) => Nodule[FieldName] | ||
): void; | ||
unwrap<Nodule extends object>( | ||
nodule: Nodule, | ||
name: keyof Nodule | ||
): void; | ||
massUnwrap<Nodule extends object>( | ||
nodules: Nodule[], | ||
names: Array<keyof Nodule> | ||
): void; | ||
}; | ||
export = shimmer; | ||
```` | ||
### Additional Details | ||
* Last updated: Tue, 06 Jul 2021 16:34:43 GMT | ||
* Dependencies: none | ||
@@ -17,2 +56,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Kelvin Jin <https://github.com/kjin>. | ||
These definitions were written by [Kelvin Jin](https://github.com/kjin). |
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
4603
0
56