Fixing the tests

This commit is contained in:
Phips Peter
2014-09-23 16:04:18 -07:00
parent c5c3575304
commit 236a885f67
2 changed files with 5 additions and 2 deletions

View File

@@ -63,7 +63,7 @@ var PropTypesSpecification: React.Specification<any, any> = {
return null;
}
},
render(): React.Descriptor<any> {
render: (): React.Descriptor<any> => {
return null;
}
};

5
react/react.d.ts vendored
View File

@@ -207,7 +207,9 @@ declare module "react" {
}
// Attributes
interface EventAttributes {
interface DomAttributes {
// HTML Attributes
// Events
onCopy?: (event: ClipboardEvent) => void;
onCut?: (event: ClipboardEvent) => void;
onPaste?: (event: ClipboardEvent) => void;
@@ -243,4 +245,5 @@ declare module "react" {
onScroll?: (event: UiEvent) => void;
onWheel?: (event: WheelEvent) => void;
}
}