@types/react-rte
Advanced tools
Comparing version 0.16.5 to 0.16.6
@@ -8,12 +8,12 @@ // Type definitions for react-rte 0.16 | ||
import { ContentBlock, EditorState } from "draft-js"; | ||
import { Component, ReactNode } from "react"; | ||
import { ContentBlock, EditorState } from "draft-js"; | ||
import draftjs = require("draft-js"); | ||
type CustomBlockFn = ( | ||
element: Element | ||
element: Element, | ||
) => undefined | null | CustomBlockObject; | ||
type CustomInlineFn = ( | ||
element: Element, | ||
inlineCreators: InlineCreators | ||
inlineCreators: InlineCreators, | ||
) => undefined | null | Style | draftjs.EntityInstance; | ||
@@ -45,3 +45,3 @@ | ||
html: string, | ||
options?: ImportOptions | ||
options?: ImportOptions, | ||
): draftjs.ContentState; | ||
@@ -67,3 +67,3 @@ | ||
content: draftjs.ContentState, | ||
options?: ExportOptions | ||
options?: ExportOptions, | ||
): string; | ||
@@ -83,3 +83,3 @@ | ||
format: string, | ||
options?: ImportOptions | ||
options?: ImportOptions, | ||
): EditorValue; | ||
@@ -92,3 +92,3 @@ static createEmpty(decorator?: any): EditorValue; | ||
decorator?: any, | ||
options?: ImportOptions | ||
options?: ImportOptions, | ||
): EditorValue; | ||
@@ -114,3 +114,3 @@ } | ||
get: GetControlState, | ||
state: EditorState | ||
state: EditorState, | ||
) => ReactNode; | ||
@@ -165,3 +165,3 @@ | ||
format: string, | ||
options?: ImportOptions | ||
options?: ImportOptions, | ||
): EditorValue; | ||
@@ -168,0 +168,0 @@ } |
{ | ||
"name": "@types/react-rte", | ||
"version": "0.16.5", | ||
"version": "0.16.6", | ||
"description": "TypeScript definitions for react-rte", | ||
@@ -31,4 +31,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-rte", | ||
}, | ||
"typesPublisherContentHash": "bbe6335a67963cdae5a55d7984cdd2602acf93aa5a464c61173a88abddc0fdf7", | ||
"typeScriptVersion": "4.2" | ||
"typesPublisherContentHash": "fd46b5eb275c20cf44da9de64ad3e60607512853ca45d0c14154ad4fa43f764f", | ||
"typeScriptVersion": "4.5" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Wed, 15 Feb 2023 14:32:37 GMT | ||
* Last updated: Wed, 27 Sep 2023 07:12:04 GMT | ||
* Dependencies: [@types/draft-js](https://npmjs.com/package/@types/draft-js), [@types/react](https://npmjs.com/package/@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
7660