Fixed react tests caused by incompatibility of aliased props generics

This commit is contained in:
Ciuca, Alexandru committed 2015-09-17 20:11:06 +03:00
1 parent fb94b1ef37
commit 64cd3d9c56
4 files changed
+10

No files matched your search

+4
View File
@@ -80,6 +80,8 @@ module Knight {
}
export class Knight extends React.Component<KnightP, {}> {
static defaultProps: KnightP;
static create = React.createFactory(Knight);
componentDidMount() {
@@ -153,6 +155,8 @@ module BoardSquare {
}
export class BoardSquare extends React.Component<BoardSquareP, {}> {
static defaultProps: BoardSquareP;
private _renderOverlay = (color: string) => {
return r.div({
style: {