@types/react-cropper
Advanced tools
Comparing version 1.3.2 to 1.3.3
@@ -8,8 +8,8 @@ // Type definitions for react-cropper 1.3 | ||
import Cropper from 'cropperjs'; | ||
import * as React from 'react'; | ||
import Cropper from "cropperjs"; | ||
import * as React from "react"; | ||
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>; | ||
interface ReactCropperProps extends Cropper.Options, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref'> { | ||
interface ReactCropperProps extends Cropper.Options, Omit<React.HTMLProps<HTMLImageElement>, "data" | "ref"> { | ||
ref?: React.LegacyRef<ReactCropper> | undefined; | ||
@@ -16,0 +16,0 @@ } |
{ | ||
"name": "@types/react-cropper", | ||
"version": "1.3.2", | ||
"version": "1.3.3", | ||
"description": "TypeScript definitions for react-cropper", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-cropper", | ||
}, | ||
"typesPublisherContentHash": "d45c131e79aad6ad727bccb4ff1e1b436448ed266eec1bc5c0146de705c024c1", | ||
"typeScriptVersion": "3.9" | ||
"typesPublisherContentHash": "ab5f7fb0a2f2f55a810bb79fbcb85e717790d4fb6391498d04aab61883021161", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -18,8 +18,8 @@ # Installation | ||
import Cropper from 'cropperjs'; | ||
import * as React from 'react'; | ||
import Cropper from "cropperjs"; | ||
import * as React from "react"; | ||
type Omit<T, K> = Pick<T, Exclude<keyof T, K>>; | ||
interface ReactCropperProps extends Cropper.Options, Omit<React.HTMLProps<HTMLImageElement>, 'data' | 'ref'> { | ||
interface ReactCropperProps extends Cropper.Options, Omit<React.HTMLProps<HTMLImageElement>, "data" | "ref"> { | ||
ref?: React.LegacyRef<ReactCropper> | undefined; | ||
@@ -37,3 +37,3 @@ } | ||
### Additional Details | ||
* Last updated: Mon, 18 Apr 2022 23:03:42 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/cropperjs](https://npmjs.com/package/@types/cropperjs), [@types/react](https://npmjs.com/package/@types/react) | ||
@@ -40,0 +40,0 @@ * Global values: none |