// Type definitions for React (react-addons-linked-state-mixin) 0.14 // Project: http://facebook.github.io/react/ // Definitions by: Asana , AssureSign , Microsoft // 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 { value: T; requestChange(newValue: T): void; } export interface LinkedStateMixin extends Mixin { linkState(key: string): ReactLink; } } declare module 'react' { interface HTMLAttributes { checkedLink?: LinkedStateMixin.ReactLink; valueLink?: LinkedStateMixin.ReactLink; } }