mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-14 13:25:12 +00:00
style: remove some verbose codes (#2741)
(cherry picked from commit 34141958eb)
This commit is contained in:
@@ -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]> {
|
||||
|
||||
Reference in New Issue
Block a user