Update typescript-eslint plugin & parser (#7351)

This commit is contained in:
Michael Telatynski 2021-12-13 23:39:45 +00:00 committed by GitHub
parent 0bb7f3d3ee
commit 132e19beb7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 63 additions and 56 deletions

View file

@ -16,7 +16,7 @@ limitations under the License.
import { useState } from "react";
export const useLocalEcho = <T extends any>(
export const useLocalEcho = <T>(
currentFactory: () => T,
setterFn: (value: T) => Promise<unknown>,
errorFn: (error: Error) => void,