@types/sortablejs
Advanced tools
Comparing version 1.15.5 to 1.15.6
@@ -81,3 +81,3 @@ import { | ||
*/ | ||
sort(order: ReadonlyArray<string>, useAnimation?: boolean): void; | ||
sort(order: readonly string[], useAnimation?: boolean): void; | ||
@@ -160,3 +160,3 @@ /** | ||
*/ | ||
oldIndicies: { multiDragElement: HTMLElement; index: number }[]; | ||
oldIndicies: Array<{ multiDragElement: HTMLElement; index: number }>; | ||
/** | ||
@@ -169,3 +169,3 @@ * When MultiDrag is used to sort, this holds a HTMLElement and newIndex for each item. | ||
*/ | ||
newIndicies: { multiDragElement: HTMLElement; index: number }[]; | ||
newIndicies: Array<{ multiDragElement: HTMLElement; index: number }>; | ||
/** When Swap is used to sort, this will contain the dragging item that was dropped on.*/ | ||
@@ -188,4 +188,4 @@ swapItem: HTMLElement | null; | ||
type PullResult = ReadonlyArray<string> | boolean | "clone"; | ||
type PutResult = ReadonlyArray<string> | boolean; | ||
type PullResult = readonly string[] | boolean | "clone"; | ||
type PutResult = readonly string[] | boolean; | ||
export interface GroupOptions { | ||
@@ -219,3 +219,3 @@ /** | ||
event: SortableEvent, | ||
) => boolean | string | Array<string>) | ||
) => boolean | string | string[]) | ||
| undefined; | ||
@@ -231,3 +231,3 @@ /** | ||
event: SortableEvent, | ||
) => boolean | string | "clone" | Array<string>) | ||
) => boolean | string | "clone" | string[]) | ||
| undefined; | ||
@@ -234,0 +234,0 @@ /** |
{ | ||
"name": "@types/sortablejs", | ||
"version": "1.15.5", | ||
"version": "1.15.6", | ||
"description": "TypeScript definitions for sortablejs", | ||
@@ -33,4 +33,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sortablejs", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "e4a1c5ac21bf5bc738e111432a552225e680c59882e75649aedc2c834f6d6f21", | ||
"typesPublisherContentHash": "bdfffd64acba7aeed6e8f5b349725764df6b51c6960bbe8b3b6693251ccd8512", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Tue, 07 Nov 2023 15:11:36 GMT | ||
* Last updated: Mon, 20 Nov 2023 23:36:24 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ |
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
22611