Merge pull request #16664 from NousResearch/bb/fix-tui-forceredraw-export

fix(tui): expose forceRedraw in Ink type shim
This commit is contained in:
brooklyn! 2026-04-27 13:08:16 -05:00 committed by GitHub
commit 41f70e6fc4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -131,6 +131,7 @@ declare module '@hermes/ink' {
} }
export function evictInkCaches(level?: EvictLevel): InkCacheSizes export function evictInkCaches(level?: EvictLevel): InkCacheSizes
export function forceRedraw(stdout?: NodeJS.WriteStream): boolean
export function render(node: React.ReactNode, options?: NodeJS.WriteStream | RenderOptions): Instance export function render(node: React.ReactNode, options?: NodeJS.WriteStream | RenderOptions): Instance
export function useApp(): { readonly exit: (error?: Error) => void } export function useApp(): { readonly exit: (error?: Error) => void }