This commit is contained in:
Dax Raad 2025-09-21 04:32:15 -04:00
parent 7b5f24e176
commit 0ba4940d28
3 changed files with 2 additions and 3 deletions

View file

@ -5,7 +5,7 @@
"type": "module",
"private": true,
"scripts": {
"typecheck": "tsc --noEmit",
"typecheck": "tsc --noEmit --customConditions development --customConditions browser",
"dev": "bun run --conditions=development --conditions=browser ./src/index.ts",
"build": "./script/build.ts"
},

View file

@ -165,7 +165,6 @@ export function DialogSelect<T>(props: DialogSelectProps<T>) {
function Option(props: { id: string; title: string; description?: string; active?: boolean; current?: boolean }) {
return (
<box
// @ts-expect-error
id={props.id}
flexDirection="row"
backgroundColor={props.active ? Theme.primary : RGBA.fromInts(0, 0, 0, 0)}

View file

@ -14,7 +14,7 @@ export namespace Plugin {
const state = Instance.state(async () => {
const client = createOpencodeClient({
baseUrl: "http://localhost:4096",
// @ts-expect-error
// @ts-ignore - fetch type incompatibility
fetch: async (...args) => Server.App().fetch(...args),
})
const config = await Config.get()