From 236a885f675bdcc838cdf72b9954aa96b6b6074f Mon Sep 17 00:00:00 2001 From: Phips Peter Date: Tue, 23 Sep 2014 16:04:18 -0700 Subject: [PATCH] Fixing the tests --- react/react-tests.ts | 2 +- react/react.d.ts | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/react/react-tests.ts b/react/react-tests.ts index bf60df67c9..be6751b07c 100644 --- a/react/react-tests.ts +++ b/react/react-tests.ts @@ -63,7 +63,7 @@ var PropTypesSpecification: React.Specification = { return null; } }, - render(): React.Descriptor { + render: (): React.Descriptor => { return null; } }; diff --git a/react/react.d.ts b/react/react.d.ts index 3c83b9a423..6a09bea706 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -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; } + } \ No newline at end of file