Fixed react tests caused by incompatibility of aliased props generics

This commit is contained in:
Ciuca, Alexandru
2015-09-17 20:11:06 +03:00
parent fb94b1ef37
commit 64cd3d9c56
4 changed files with 10 additions and 0 deletions
+2
View File
@@ -84,6 +84,8 @@ class ModernComponent extends React.Component<Props, State>
static childContextTypes: React.ValidationMap<ChildContext> = {
someOtherValue: React.PropTypes.string
}
static defaultProps: Props;
context: Context;
+2
View File
@@ -81,6 +81,8 @@ class ModernComponent extends React.Component<Props, State>
someOtherValue: React.PropTypes.string
}
static defaultProps: Props;
context: Context;
getChildContext() {
+2
View File
@@ -82,6 +82,8 @@ class ModernComponent extends React.Component<Props, State>
someOtherValue: React.PropTypes.string
}
static defaultProps: Props;
context: Context;
getChildContext() {