mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add index signature to 'ComponentSpec' in 'react'.
This commit is contained in:
Vendored
+2
@@ -215,6 +215,8 @@ declare module __React {
|
||||
|
||||
interface ComponentSpec<P, S> extends Mixin<P, S> {
|
||||
render(): ReactElement<any>;
|
||||
|
||||
[propertyName: string]: any;
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user