react-sortablejs
Advanced tools
Comparing version 2.0.10 to 2.0.11
import { CSSProperties, ForwardRefExoticComponent, ReactHTML, RefAttributes } from "react"; | ||
import Sortable, { MoveEvent, Options, SortableEvent } from "sortablejs"; | ||
import { ReactSortable } from "./react-sortable"; | ||
import { Omit } from './util'; | ||
export interface ItemInterface { | ||
@@ -5,0 +6,0 @@ /** The unique id associated with your item. It's recommended this is the same as the key prop for your list item. */ |
@@ -43,2 +43,7 @@ import { PropsWithChildren } from "react"; | ||
export declare function destructurePropsForOptions<T>(props: PropsWithChildren<ReactSortableProps<T>>): Exclude<Options, AllMethodNames>; | ||
/** | ||
* Construct a type with the properties of T except for those in type K. | ||
* Including this allows for backwards compatibility with earlier versions of TS. | ||
*/ | ||
export declare type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>; | ||
//# sourceMappingURL=util.d.ts.map |
@@ -8,3 +8,3 @@ { | ||
"license": "MIT", | ||
"version": "2.0.10", | ||
"version": "2.0.11", | ||
"private": false, | ||
@@ -11,0 +11,0 @@ "main": "dist/index.js", |
Sorry, the diff of this file is not supported yet
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
64512
1016