mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
sync
This commit is contained in:
parent
22625c5a92
commit
e3f17986f8
3 changed files with 3 additions and 3 deletions
|
|
@ -5,7 +5,7 @@
|
|||
"type": "module",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"typecheck": "tsc --moduleResolution bundler --customConditions development --customConditions browser --noEmit",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"dev": "bun run --conditions=development --conditions=browser ./src/index.ts",
|
||||
"build": "./script/build.ts"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ function init() {
|
|||
setStore("size", "medium")
|
||||
setStore("stack", [])
|
||||
},
|
||||
replace(input: JSX.Element) {
|
||||
replace(input: any) {
|
||||
setStore("size", "medium")
|
||||
setStore("stack", [input])
|
||||
},
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@
|
|||
"compilerOptions": {
|
||||
"jsx": "preserve",
|
||||
"jsxImportSource": "@opentui/solid",
|
||||
"lib": ["ESNext", "DOM.Iterable"],
|
||||
"lib": ["ESNext", "DOM", "DOM.Iterable"],
|
||||
"customConditions": ["development", "browser"]
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue