This commit is contained in:
Dax Raad 2025-09-22 02:45:20 -04:00
parent 22625c5a92
commit e3f17986f8
3 changed files with 3 additions and 3 deletions

View file

@ -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"
},

View file

@ -72,7 +72,7 @@ function init() {
setStore("size", "medium")
setStore("stack", [])
},
replace(input: JSX.Element) {
replace(input: any) {
setStore("size", "medium")
setStore("stack", [input])
},

View file

@ -4,7 +4,7 @@
"compilerOptions": {
"jsx": "preserve",
"jsxImportSource": "@opentui/solid",
"lib": ["ESNext", "DOM.Iterable"],
"lib": ["ESNext", "DOM", "DOM.Iterable"],
"customConditions": ["development", "browser"]
}
}