Merge pull request #5869 from use-strict/patch-1

Update react.d.ts - Validate static members of React.Component
This commit is contained in:
Masahiro Wakame
2015-10-05 22:44:28 +09:00
5 changed files with 20 additions and 0 deletions
+4
View File
@@ -81,6 +81,8 @@ module Knight {
}
export class Knight extends React.Component<KnightP, {}> {
static defaultProps: KnightP;
static create = React.createFactory(Knight);
componentDidMount() {
@@ -154,6 +156,8 @@ module BoardSquare {
}
export class BoardSquare extends React.Component<BoardSquareP, {}> {
static defaultProps: BoardSquareP;
private _renderOverlay = (color: string) => {
return r.div({
style: {