Change React.React.Attributes.key type to any // number | string

This commit is contained in:
Vincent Siao
2014-12-12 16:10:24 -08:00
parent dbb10b35c6
commit 660d263565
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ declare module React {
export interface ReactAttributes {
children?: any; // ReactNode
key?: string;
key?: any; // number | string
ref?: string;
// Event Attributes