Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 16 additions & 1 deletion runtime/desktop/configuration.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
last_modified: 2026-06-30
last_modified: 2026-08-18
title: "Configuration"
description: "Configure deno desktop in deno.json: app metadata, icons, deep-link URL schemes, backend selection, output paths, error reporting, and the auto-update server."
---
Expand Down Expand Up @@ -272,3 +272,18 @@ Configuration is validated at the start of `deno desktop`:
- `app.deepLinks` entries must be valid, non-reserved URL schemes.

Errors are reported with the offending `deno.json` location.

## Type checking

By default, Deno type-checks code against the runtime's global scope (the
`deno.window` library), which does not include desktop-only types such as
[`Deno.BrowserWindow`](/api/deno/~/Deno.BrowserWindow). To get editor
completions from the language server, set `compilerOptions.lib` in `deno.json`:

```json title="deno.json"
{
"compilerOptions": {
"lib": ["deno.desktop", "deno.unstable", "node"]
}
}
```
Loading