mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Change React.React.Attributes.key type to any // number | string
This commit is contained in:
Vendored
+1
-1
@@ -242,7 +242,7 @@ declare module React {
|
||||
|
||||
export interface ReactAttributes {
|
||||
children?: any; // ReactNode
|
||||
key?: string;
|
||||
key?: any; // number | string
|
||||
ref?: string;
|
||||
|
||||
// Event Attributes
|
||||
|
||||
Reference in New Issue
Block a user