@types/resemblejs
Advanced tools
+13
-14
@@ -6,15 +6,16 @@ // Type definitions for Resemble.js v1.3.0 | ||
| export = Resemble; | ||
| export as namespace resemble; | ||
| /** | ||
| * Retrieve basic analysis for a single image (add compareTo to compare with another). | ||
| */ | ||
| declare function Resemble(image: string | ImageData): Resemble.ResembleAnalysis; | ||
| declare namespace Resemble { | ||
| interface ResembleStatic { | ||
| /** | ||
| * Retrieve basic analysis for a single image (add compareTo to compare with another). | ||
| */ | ||
| (image: string|ImageData): ResembleAnalysis; | ||
| /** | ||
| * Set the resemblance image output style | ||
| */ | ||
| function outputSettings(settings: OutputSettings): typeof Resemble; | ||
| /** | ||
| * Set the resemblance image output style | ||
| */ | ||
| outputSettings(settings: OutputSettings): ResembleStatic; | ||
| } | ||
| interface OutputSettings { | ||
@@ -40,3 +41,3 @@ errorColor: { | ||
| */ | ||
| compareTo(fileData: string|ImageData): ResembleComparison; | ||
| compareTo(fileData: string | ImageData): ResembleComparison; | ||
| } | ||
@@ -98,3 +99,1 @@ | ||
| } | ||
| declare var resemble: Resemble.ResembleStatic; |
| { | ||
| "name": "@types/resemblejs", | ||
| "version": "1.3.27", | ||
| "version": "1.3.28", | ||
| "description": "TypeScript definitions for Resemble.js v1.3.0", | ||
@@ -14,4 +14,5 @@ "license": "MIT", | ||
| "dependencies": {}, | ||
| "peerDependencies": {}, | ||
| "typings": "index.d.ts", | ||
| "typesPublisherContentHash": "c4e2663b68363f5f4f396331f9a7a1a47f08cf16de9bb18c6c80752b9a1e0e88" | ||
| "typesPublisherContentHash": "0e02f7d7fcc47e2c6a437faadad1a5aa01a045c969a1bb184671bf82dbf78e67" | ||
| } |
@@ -11,9 +11,9 @@ # Installation | ||
| Additional Details | ||
| * Last updated: Mon, 19 Sep 2016 17:28:59 GMT | ||
| * File structure: Global | ||
| * Last updated: Thu, 17 Nov 2016 19:14:58 GMT | ||
| * File structure: UMD | ||
| * Library Dependencies: none | ||
| * Module Dependencies: none | ||
| * Global values: resemble | ||
| * Global values: Resemble, resemble | ||
| # Credits | ||
| These definitions were written by Tim Perry <https://github.com/pimterry>. |
@@ -6,4 +6,4 @@ { | ||
| "moduleDependencies": [], | ||
| "libraryMajorVersion": "1", | ||
| "libraryMinorVersion": "3", | ||
| "libraryMajorVersion": 1, | ||
| "libraryMinorVersion": 3, | ||
| "libraryName": "Resemble.js v1.3.0", | ||
@@ -14,4 +14,5 @@ "typingsPackageName": "resemblejs", | ||
| "sourceBranch": "types-2.0", | ||
| "kind": "Global", | ||
| "kind": "UMD", | ||
| "globals": [ | ||
| "Resemble", | ||
| "resemble" | ||
@@ -24,3 +25,3 @@ ], | ||
| "hasPackageJson": false, | ||
| "contentHash": "c4e2663b68363f5f4f396331f9a7a1a47f08cf16de9bb18c6c80752b9a1e0e88" | ||
| "contentHash": "0e02f7d7fcc47e2c6a437faadad1a5aa01a045c969a1bb184671bf82dbf78e67" | ||
| } |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
4245
3.33%0
-100%