@types/react-cropper
Advanced tools
Comparing version 0.10.6 to 0.10.7
@@ -8,3 +8,3 @@ // Type definitions for react-cropper 0.10 | ||
import * as cropperjs from 'cropperjs'; | ||
import Cropper from 'cropperjs'; | ||
import * as React from 'react'; | ||
@@ -14,7 +14,7 @@ | ||
export interface ReactCropperProps extends cropperjs.CropperOptions, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref'> { | ||
export interface ReactCropperProps extends Cropper.Options, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref'> { | ||
ref?: string | ((cropper: null | ReactCropper) => any); | ||
} | ||
interface ReactCropper extends cropperjs {} // tslint:disable-line no-empty-interface | ||
interface ReactCropper extends Cropper {} // tslint:disable-line no-empty-interface | ||
declare class ReactCropper extends React.Component<ReactCropperProps> { | ||
@@ -21,0 +21,0 @@ on(eventname: string, callback: () => void): void; |
{ | ||
"name": "@types/react-cropper", | ||
"version": "0.10.6", | ||
"version": "0.10.7", | ||
"description": "TypeScript definitions for react-cropper", | ||
@@ -19,3 +19,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -28,7 +28,7 @@ "type": "git", | ||
"dependencies": { | ||
"@types/cropperjs": "*", | ||
"@types/react": "*" | ||
"@types/react": "*", | ||
"cropperjs": "^1.3.0" | ||
}, | ||
"typesPublisherContentHash": "647aaca9eb7b4a2f8b04570ec27e6d6a7ca78b9bcd46fac94f68ff2ad3c8c3e0", | ||
"typesPublisherContentHash": "6bef33b19e23a4a03d9211b25381e477edf1361d12c4cb504d8977a33ae64a75", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -5,3 +5,3 @@ # Installation | ||
# Summary | ||
This package contains type definitions for react-cropper ( https://github.com/roadmanfong/react-cropper ). | ||
This package contains type definitions for react-cropper (https://github.com/roadmanfong/react-cropper). | ||
@@ -12,3 +12,3 @@ # Details | ||
Additional Details | ||
* Last updated: Wed, 08 May 2019 18:19:21 GMT | ||
* Last updated: Thu, 07 Nov 2019 18:11:42 GMT | ||
* Dependencies: @types/cropperjs, @types/react | ||
@@ -18,2 +18,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Stepan Mikhaylyuk <https://github.com/stepancar>, Walter Barbagallo <https://github.com/bwlt>. | ||
These definitions were written by Stepan Mikhaylyuk <https://github.com/stepancar>, and Walter Barbagallo <https://github.com/bwlt>. |
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
3608
+ Addedcropperjs@^1.3.0
- Removed@types/cropperjs@*
- Removed@types/cropperjs@1.3.3(transitive)