@types/slate-react
Advanced tools
Comparing version 0.22.5 to 0.22.6
@@ -102,3 +102,3 @@ // Type definitions for slate-react 0.22 | ||
export type EventHook = (event: Event, editor: CoreEditor, next: () => any) => any; | ||
export type EventHook<T = Event> = (event: T, editor: CoreEditor, next: () => any) => any; | ||
@@ -122,21 +122,21 @@ export interface Plugin extends CorePlugin { | ||
onBeforeInput?: EventHook; | ||
onBlur?: EventHook; | ||
onClick?: EventHook; | ||
onCompositionEnd?: EventHook; | ||
onCompositionStart?: EventHook; | ||
onCopy?: EventHook; | ||
onCut?: EventHook; | ||
onDragEnd?: EventHook; | ||
onDragEnter?: EventHook; | ||
onDragExit?: EventHook; | ||
onDragLeave?: EventHook; | ||
onDragOver?: EventHook; | ||
onDragStart?: EventHook; | ||
onDrop?: EventHook; | ||
onFocus?: EventHook; | ||
onInput?: EventHook; | ||
onKeyDown?: EventHook; | ||
onPaste?: EventHook; | ||
onSelect?: EventHook; | ||
onBeforeInput?: EventHook<React.FormEvent>; | ||
onBlur?: EventHook<React.FocusEvent>; | ||
onClick?: EventHook<React.MouseEvent>; | ||
onCompositionEnd?: EventHook<React.CompositionEvent>; | ||
onCompositionStart?: EventHook<React.CompositionEvent>; | ||
onCopy?: EventHook<React.ClipboardEvent>; | ||
onCut?: EventHook<React.ClipboardEvent>; | ||
onDragEnd?: EventHook<React.DragEvent>; | ||
onDragEnter?: EventHook<React.DragEvent>; | ||
onDragExit?: EventHook<React.DragEvent>; | ||
onDragLeave?: EventHook<React.DragEvent>; | ||
onDragOver?: EventHook<React.DragEvent>; | ||
onDragStart?: EventHook<React.DragEvent>; | ||
onDrop?: EventHook<React.DragEvent>; | ||
onFocus?: EventHook<React.FocusEvent>; | ||
onInput?: EventHook<React.FormEvent>; | ||
onKeyDown?: EventHook<React.KeyboardEvent>; | ||
onPaste?: EventHook<React.ClipboardEvent>; | ||
onSelect?: EventHook<React.SyntheticEvent>; | ||
} | ||
@@ -143,0 +143,0 @@ |
{ | ||
"name": "@types/slate-react", | ||
"version": "0.22.5", | ||
"version": "0.22.6", | ||
"description": "TypeScript definitions for slate-react", | ||
@@ -76,4 +76,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "0061e3da657601c855d62acbb2e0a9518b4e7e3acdb2bf12e9864a50065c0e00", | ||
"typesPublisherContentHash": "5910532d860ed4fa96d39f31f67ad0c76d348d491a2729a2c609a2ace1f71b57", | ||
"typeScriptVersion": "2.8" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Fri, 02 Aug 2019 18:02:53 GMT | ||
* Last updated: Tue, 22 Oct 2019 20:48:53 GMT | ||
* Dependencies: @types/slate, @types/immutable, @types/react | ||
@@ -14,0 +14,0 @@ * Global values: none |
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
28204