mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Merge pull request #5579 from jbrantly/react-reorg
Reorganize React definitions
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
/// <reference path="react-addons.d.ts" />
|
||||
/// <reference path="react.d.ts" />
|
||||
import React = require("react/addons");
|
||||
|
||||
import TestUtils = React.addons.TestUtils;
|
||||
@@ -207,7 +207,7 @@ myComponent.reset();
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
var children: any[] = ["Hello world", [null], React.DOM.span(null)];
|
||||
var divStyle = { // CSSProperties
|
||||
var divStyle: React.CSSProperties = { // CSSProperties
|
||||
flex: "1 1 main-size",
|
||||
backgroundImage: "url('hello.png')"
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user