diff options
| author | Dax Raad <[email protected]> | 2025-09-02 03:18:13 -0400 |
|---|---|---|
| committer | Dax Raad <[email protected]> | 2025-09-02 03:18:30 -0400 |
| commit | 4a76224268f012ff7c22754e4eb624f151c05fe5 (patch) | |
| tree | 2905bbeea416e46903b33d04c131a67bcdc0202c /cloud/app | |
| parent | 810c9cff1db91f10158cc002dc70b89871762e1e (diff) | |
| download | opencode-4a76224268f012ff7c22754e4eb624f151c05fe5.tar.gz opencode-4a76224268f012ff7c22754e4eb624f151c05fe5.zip | |
wip: typechecking
Diffstat (limited to 'cloud/app')
| -rw-r--r-- | cloud/app/package.json | 1 | ||||
| -rw-r--r-- | cloud/app/src/routes/workspace/[id].tsx | 2 | ||||
| -rw-r--r-- | cloud/app/tsconfig.json | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/cloud/app/package.json b/cloud/app/package.json index 1456bd4d4..086322946 100644 --- a/cloud/app/package.json +++ b/cloud/app/package.json @@ -2,6 +2,7 @@ "name": "@opencode/cloud-app", "type": "module", "scripts": { + "typecheck": "tsc --noEmit", "dev": "vinxi dev --host 0.0.0.0", "dev:remote": "VITE_AUTH_URL=https://auth.dev.opencode.ai bun sst shell --stage=dev bun dev", "build": "vinxi build", diff --git a/cloud/app/src/routes/workspace/[id].tsx b/cloud/app/src/routes/workspace/[id].tsx index c4c18bc66..38e19612a 100644 --- a/cloud/app/src/routes/workspace/[id].tsx +++ b/cloud/app/src/routes/workspace/[id].tsx @@ -14,7 +14,7 @@ import { Actor } from "@opencode/cloud-core/actor.js" ///////////////////////////////////// -const listKeys = query(() => { +const listKeys = query(async () => { "use server" return withActor(() => Key.list()) }, "key.list") diff --git a/cloud/app/tsconfig.json b/cloud/app/tsconfig.json index 2907fdbb3..4110b02e5 100644 --- a/cloud/app/tsconfig.json +++ b/cloud/app/tsconfig.json @@ -3,6 +3,7 @@ "compilerOptions": { "target": "ESNext", "module": "ESNext", + "skipLibCheck": true, "moduleResolution": "bundler", "allowSyntheticDefaultImports": true, "esModuleInterop": true, |
