@types/react-addons-update
Advanced tools
Comparing version 0.14.20 to 0.14.21
@@ -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
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
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5005
1
56