Robin Lindner
Robin Lindner3y ago

[resolved] CI failure TS2684

Hey, I'm currently working on a pull request for the Astro project. Unfortunately the CI doesn't like my code despite the latest Deno version (1.26.1). Does anyone know what the reason is and can possibly give me a solution? GitHub Actions run: https://github.com/withastro/astro/actions/runs/3200178618/jobs/5226807106.
error: TS2694 [ERROR]: Namespace 'Deno' has no exported member 'PermissionOptions'.
error: TS2694 [ERROR]: Namespace 'Deno' has no exported member 'PermissionOptions'.
export const defaultTestPermissions: Deno.PermissionOptions = {
read: true,
net: true,
run: true,
env: true
};
export const defaultTestPermissions: Deno.PermissionOptions = {
read: true,
net: true,
run: true,
env: true
};
1 Reply
Antonio Sampaio
the version used in the job doesn't have the type PermissionOptions on Deno namespace can u try update it?