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

@types/react-addons-linked-state-mixin

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@types/react-addons-linked-state-mixin - npm Package Compare versions

Comparing version 0.14.21 to 0.14.22

4

react-addons-linked-state-mixin/index.d.ts

@@ -26,5 +26,5 @@ // Type definitions for React (react-addons-linked-state-mixin) 0.14

interface HTMLAttributes<T> {
checkedLink?: LinkedStateMixin.ReactLink<boolean>;
valueLink?: LinkedStateMixin.ReactLink<boolean | string | number>;
checkedLink?: LinkedStateMixin.ReactLink<boolean> | undefined;
valueLink?: LinkedStateMixin.ReactLink<boolean | string | number> | undefined;
}
}
{
"name": "@types/react-addons-linked-state-mixin",
"version": "0.14.21",
"version": "0.14.22",
"description": "TypeScript definitions for React (react-addons-linked-state-mixin)",
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-linked-state-mixin",
"license": "MIT",

@@ -31,4 +32,4 @@ "contributors": [

},
"typesPublisherContentHash": "b031e9be2f7391684f1d4817ed962059116ec78a599d9dd4f0fcd3145bec758b",
"typeScriptVersion": "3.0"
"typesPublisherContentHash": "05ce46a70816cc4b67fe2c4c748116c417229e01570a3b0ec3918033cc1d3484",
"typeScriptVersion": "3.6"
}

@@ -9,5 +9,38 @@ # Installation

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-linked-state-mixin.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-addons-linked-state-mixin/index.d.ts)
````ts
// Type definitions for React (react-addons-linked-state-mixin) 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
import { Mixin } from 'react';
declare var LinkedStateMixin: LinkedStateMixin.LinkedStateMixin;
type LinkedStateMixin = LinkedStateMixin.LinkedStateMixin;
export = LinkedStateMixin;
declare namespace LinkedStateMixin {
export interface ReactLink<T> {
value: T;
requestChange(newValue: T): void;
}
export interface LinkedStateMixin extends Mixin<any, any> {
linkState<T>(key: string): ReactLink<T>;
}
}
declare module 'react' {
interface HTMLAttributes<T> {
checkedLink?: LinkedStateMixin.ReactLink<boolean> | undefined;
valueLink?: LinkedStateMixin.ReactLink<boolean | string | number> | undefined;
}
}
````
### Additional Details
* Last updated: Fri, 15 May 2020 11:32:21 GMT
* Last updated: Wed, 07 Jul 2021 17:02:53 GMT
* Dependencies: [@types/react](https://npmjs.com/package/@types/react)

@@ -14,0 +47,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