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

@types/react-addons-update

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-addons-update - npm Package Compare versions

Comparing version 0.14.20 to 0.14.21

8

react-addons-update/index.d.ts

@@ -14,3 +14,3 @@ // Type definitions for React (react-addons-update) 0.14

$set?: any;
$merge?: {};
$merge?: {} | undefined;
$apply?(value: any): any;

@@ -26,5 +26,5 @@ }

interface UpdateArraySpec extends UpdateSpecCommand {
$push?: any[];
$unshift?: any[];
$splice?: any[][];
$push?: any[] | undefined;
$unshift?: any[] | undefined;
$splice?: any[][] | undefined;
}

@@ -31,0 +31,0 @@

{
"name": "@types/react-addons-update",
"version": "0.14.20",
"version": "0.14.21",
"description": "TypeScript definitions for React (react-addons-update)",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-update",
"license": "MIT",

@@ -21,5 +22,7 @@ "contributors": [

"main": "",
"types": "index.d.ts",
"repository": {
"type": "git",
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git"
"url": "https://github.com/DefinitelyTyped/DefinitelyTyped.git",
"directory": "types/react-addons-update"
},

@@ -30,4 +33,4 @@ "scripts": {},

},
"typesPublisherContentHash": "29fbf261919ebe130dd111d079bed597984a3660bf8e4f69ed7f6df108f8daa6",
"typeScriptVersion": "2.8"
"typesPublisherContentHash": "fdecae4fb656f6f10ec0d9e9d9286fa1ffe79332e2898dcbeab701ff446b5eae",
"typeScriptVersion": "3.6"
}

@@ -8,10 +8,49 @@ # Installation

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-update
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-update.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-update/index.d.ts)
````ts
// Type definitions for React (react-addons-update) 0.14
// Project: http://facebook.github.io/react/
// Definitions by: Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
Additional Details
* Last updated: Mon, 06 Aug 2018 21:55:26 GMT
* Dependencies: react
import * as React from 'react';
export = React.__Addons.update;
declare module 'react' {
interface UpdateSpecCommand {
$set?: any;
$merge?: {} | undefined;
$apply?(value: any): any;
}
interface UpdateSpecPath {
[key: string]: UpdateSpec;
}
type UpdateSpec = number[][] | UpdateSpecCommand | UpdateSpecPath;
interface UpdateArraySpec extends UpdateSpecCommand {
$push?: any[] | undefined;
$unshift?: any[] | undefined;
$splice?: any[][] | undefined;
}
namespace __Addons {
export function update(value: any[], spec: UpdateArraySpec): any[];
export function update(value: {}, spec: UpdateSpec): any;
}
}
````
### Additional Details
* Last updated: Thu, 08 Jul 2021 20:20:23 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)
* Global values: none
# Credits
These definitions were written by Asana <https://asana.com>, AssureSign <http://www.assuresign.com>, Microsoft <https://microsoft.com>.
These definitions were written by [Asana](https://asana.com), [AssureSign](http://www.assuresign.com), and [Microsoft](https://microsoft.com).

Sorry, the diff of this file is not supported yet

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