Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@types/react-rte

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-rte - npm Package Compare versions

Comparing version 0.16.5 to 0.16.6

18

react-rte/index.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc