Repository navigation
Commit ae1a397
committed
fix(tui): use sync themeMode getter (waitForThemeMode doesn't exist)
The line `await renderer.waitForThemeMode(1000)` calls a method that
does not exist on CliRenderer in @opentui/[email protected] (the version
pinned in the workspace catalog). Only the sync `themeMode` getter
is available.
Result: bun typecheck fails on dev with TS2339, blocking any push
from a clean branch (the pre-push hook runs typecheck repo-wide).
The `?? "dark"` fallback already handles the case where themeMode
hasn't been detected yet, so swapping to the sync getter is a
behavior-preserving fix.
Fixes anomalyco#235041 parent 7a568a4 commit ae1a397
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
129 | 129 | | |
130 | 130 | | |
131 | 131 | | |
132 | | - | |
| 132 | + | |
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
| |||
0 commit comments