mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-18 00:00:46 +00:00
chore(lint): enable unnecessary type parameter rule
This commit is contained in:
@@ -560,6 +560,7 @@ export async function handleInvoke(
|
||||
});
|
||||
}
|
||||
|
||||
// oxlint-disable-next-line typescript/no-unnecessary-type-parameters -- CLI JSON params are typed by the invoked method.
|
||||
function decodeParams<T>(raw?: string | null): T {
|
||||
if (!raw) {
|
||||
throw new Error("INVALID_REQUEST: paramsJSON required");
|
||||
|
||||
Reference in New Issue
Block a user