@types/react-faux-dom
Advanced tools
Comparing version
@@ -1,5 +0,6 @@ | ||
// Type definitions for react-faux-dom 3.2 | ||
// Type definitions for react-faux-dom 4.1 | ||
// Project: https://github.com/Olical/react-faux-dom | ||
// Definitions by: Ali Taheri Moghaddar <https://github.com/alitaheri> | ||
// Cleve Littlefield <https://github.com/cleverguy25> | ||
// Michał Kostrzyński <https://github.com/deviousm> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
@@ -22,7 +23,2 @@ // TypeScript Version: 2.6 | ||
export namespace mixins { | ||
const core: any; | ||
const anim: any; | ||
} | ||
export function createElement(nodeName: string): Element; | ||
@@ -35,6 +31,9 @@ | ||
export interface ReactFauxDomProps { | ||
connectFauxDOM?(node: string, name: string, discardNode?: any): Element; | ||
animateFauxDOM?(duration: number): void; | ||
connectFauxDOM(node: string, name: string, discardNode?: any): Element; | ||
drawFauxDOM(): void; | ||
animateFauxDOM(duration: number): void; | ||
stopAnimatingFauxDOM(): void; | ||
isAnimatingFauxDOM(): boolean; | ||
} | ||
export function withFauxDOM<P>(WrappedComponent: any): React.ClassicComponentClass<P & ReactFauxDomProps>; |
{ | ||
"name": "@types/react-faux-dom", | ||
"version": "3.2.1", | ||
"version": "4.1.0", | ||
"description": "TypeScript definitions for react-faux-dom", | ||
@@ -16,2 +16,7 @@ "license": "MIT", | ||
"githubUsername": "cleverguy25" | ||
}, | ||
{ | ||
"name": "Michał Kostrzyński", | ||
"url": "https://github.com/deviousm", | ||
"githubUsername": "deviousm" | ||
} | ||
@@ -28,4 +33,4 @@ ], | ||
}, | ||
"typesPublisherContentHash": "b287552da486c47da43f8747dbb746da956bceaafc91f8baa2244cd6885fe422", | ||
"typesPublisherContentHash": "1e11c1f9f9d279a2d8d3a20a932130550ba9305718e7f1525e25a3c6cf4340c0", | ||
"typeScriptVersion": "2.6" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
Additional Details | ||
* Last updated: Mon, 12 Feb 2018 20:56:56 GMT | ||
* Last updated: Thu, 22 Feb 2018 21:28:39 GMT | ||
* Dependencies: react | ||
@@ -17,2 +17,2 @@ * Global values: none | ||
# Credits | ||
These definitions were written by Ali Taheri Moghaddar <https://github.com/alitaheri>, Cleve Littlefield <https://github.com/cleverguy25>. | ||
These definitions were written by Ali Taheri Moghaddar <https://github.com/alitaheri>, Cleve Littlefield <https://github.com/cleverguy25>, Michał Kostrzyński <https://github.com/deviousm>. |
4052
7.97%