Skip to content

Commit 8a974ad

Browse files
committed
lintfixed and jested
1 parent 1f7b2ae commit 8a974ad

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

src/utils.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,14 +265,13 @@ function fromError(error: any): JSONValue {
265265
}
266266

267267
function isRPCRequestParams(data: JSONValue): data is RPCRequestParams {
268-
return typeof data === "object" && !Array.isArray(data);
268+
return typeof data === 'object' && !Array.isArray(data);
269269
}
270270

271271
function isRPCResponseResult(data: JSONValue): data is RPCResponseResult {
272-
return typeof data === "object" && !Array.isArray(data);
272+
return typeof data === 'object' && !Array.isArray(data);
273273
}
274274

275-
276275
/**
277276
* Error constructors for non-Polykey rpcErrors
278277
* Allows these rpcErrors to be reconstructed from RPC metadata

0 commit comments

Comments
 (0)