From 3005cc83e605fb89b079cf0e6fd0ec95cd27b30e Mon Sep 17 00:00:00 2001 From: Elizabeth Date: Wed, 28 May 2025 15:05:38 -0700 Subject: Run prettier, add zed settings --- model/job.ts | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'model/job.ts') diff --git a/model/job.ts b/model/job.ts index a3b52dd..52386eb 100644 --- a/model/job.ts +++ b/model/job.ts @@ -6,8 +6,14 @@ export interface Job { readonly arguments: JobArgT; } export const isJob = (j: unknown): j is Job => - !!(isObject(j) && "arguments" in j && isObject(j.arguments) && - "type" in j && typeof j.type === "string" && j); + !!( + isObject(j) && + "arguments" in j && + isObject(j.arguments) && + "type" in j && + typeof j.type === "string" && + j + ); export interface FetchCodeJobProps extends JobArgT { readonly remoteUrl: string; -- cgit v1.2.3-70-g09d2