mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-07-01 07:40:10 +00:00
react-onclickoutside header parsing errors, update tslint to extend dtslint
This commit is contained in:
11
types/react-onclickoutside/index.d.ts
vendored
11
types/react-onclickoutside/index.d.ts
vendored
@@ -1,6 +1,6 @@
|
||||
// Type definitions for react-onclickoutside v5.7.0
|
||||
// Type definitions for react-onclickoutside 5.7
|
||||
// Project: https://github.com/Pomax/react-onclickoutside
|
||||
// Definitions by: Karol Janyst <https://github.com/LKay> and cwmoo740 <https://github.com/cwmoo740>
|
||||
// Definitions by: Karol Janyst <https://github.com/LKay>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
// TypeScript Version: 2.1
|
||||
|
||||
@@ -28,11 +28,8 @@ declare namespace OnClickOut {
|
||||
type DecoratedComponent<P> = React.ComponentClass<P & OnClickOut.OnClickOutProps>;
|
||||
|
||||
declare function OnClickOut<P>(
|
||||
component: React.StatelessComponent<P & OnClickOut.InjectedOnClickOutProps & OnClickOut.HandleClickOutside<any>>
|
||||
): DecoratedComponent<P>;
|
||||
|
||||
declare function OnClickOut<P>(
|
||||
component: React.ComponentClass<P & OnClickOut.InjectedOnClickOutProps & Partial<OnClickOut.HandleClickOutside<any>>>
|
||||
component: React.StatelessComponent<P & OnClickOut.InjectedOnClickOutProps & OnClickOut.HandleClickOutside<any>> |
|
||||
React.ComponentClass<P & OnClickOut.InjectedOnClickOutProps & Partial<OnClickOut.HandleClickOutside<any>>>
|
||||
): DecoratedComponent<P>;
|
||||
|
||||
export = OnClickOut;
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
{
|
||||
"extends": "../tslint.json"
|
||||
"extends": "dtslint/dt.json"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user