mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 06:47:03 +00:00
Enable noImplicitAny
This commit is contained in:
@@ -26,8 +26,8 @@ var customFilterFunction = function(items: ResultType[], query: string): ResultT
|
||||
class CustomFilterComponent extends React.Component<CustomFilterComponentProps, any> {
|
||||
query: string = '';
|
||||
|
||||
searchChange(event) {
|
||||
this.query = event.target.value;
|
||||
searchChange(event: React.FormEvent<HTMLInputElement>) {
|
||||
this.query = event.currentTarget.value;
|
||||
this.props.changeFilter(this.query);
|
||||
}
|
||||
|
||||
@@ -88,4 +88,4 @@ class CustomFilterComponentGrid extends React.Component<any, any> {
|
||||
}
|
||||
}
|
||||
|
||||
export default CustomFilterComponentGrid;
|
||||
export default CustomFilterComponentGrid;
|
||||
|
||||
@@ -12,12 +12,12 @@ interface MoreCustomHeaderComponentProps extends CustomHeaderComponentProps {
|
||||
}
|
||||
|
||||
class HeaderComponent extends React.Component<MoreCustomHeaderComponentProps, any> {
|
||||
textOnClick(e) {
|
||||
textOnClick(e: React.FormEvent<HTMLInputElement>) {
|
||||
e.stopPropagation();
|
||||
}
|
||||
|
||||
filterText(e) {
|
||||
this.props.filterByColumn(e.target.value, this.props.columnName)
|
||||
filterText(e: React.FormEvent<HTMLInputElement>) {
|
||||
this.props.filterByColumn(e.currentTarget.value, this.props.columnName)
|
||||
}
|
||||
|
||||
render() {
|
||||
@@ -92,4 +92,4 @@ class CustomHeaderComponentGrid extends React.Component<any, any> {
|
||||
}
|
||||
}
|
||||
|
||||
export default CustomHeaderComponentGrid;
|
||||
export default CustomHeaderComponentGrid;
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"dom"
|
||||
],
|
||||
"jsx": "preserve",
|
||||
"noImplicitAny": false,
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": true,
|
||||
"strictNullChecks": false,
|
||||
"baseUrl": "../",
|
||||
|
||||
Reference in New Issue
Block a user