style: remove some verbose codes (#2741)

This commit is contained in:
LongYinan authored and GitHub committed 2023-06-09 14:55:41 +08:00
1 parent c194cff0bd
commit 34141958eb
5 files changed
+45 -79

No files matched your search

@@ -27,7 +27,6 @@ async function dispatch<
>(
namespace: T,
functionName: F,
// @ts-expect-error
...args: Parameters<WithoutFirstParameter<MainIPCHandlerMap[T][F]>>
): // @ts-expect-error
ReturnType<MainIPCHandlerMap[T][F]> {