From 35ccb2dee9ecbe2311c15dea591c571317d4f2f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Gaudencio=20do=20R=C3=AAgo?= Date: Thu, 19 Dec 2024 14:09:03 -0300 Subject: [PATCH] Fix type that fail on JSR check (#879) --- daemon/workers/denoRun.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/workers/denoRun.ts b/daemon/workers/denoRun.ts index bf48d1fc2..ca31b467d 100644 --- a/daemon/workers/denoRun.ts +++ b/daemon/workers/denoRun.ts @@ -21,7 +21,7 @@ const buildPermissionsArgs = ( for (const [key, value] of Object.entries(perm)) { if (value === "inherit") { permCache[key] ??= Deno.permissions.querySync({ - name: key as keyof Deno.PermissionOptionsObject, + name: key as Deno.PermissionDescriptor["name"], }).state; const access = permCache[key]; access === "granted" && args.push(`--allow-${key}`);