Fix typescript type for setTimeout variable

This commit is contained in:
riggraz
2019-09-06 15:04:05 +02:00
parent 25d7d9a5af
commit 46b8f06955

View File

@@ -38,7 +38,7 @@ interface State {
}
class Board extends React.Component<Props, State> {
searchFilterTimeoutId: number;
searchFilterTimeoutId: ReturnType<typeof setTimeout>;
constructor(props) {
super(props);