mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Fixing the tests
This commit is contained in:
@@ -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
5
react/react.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user