Merge pull request #16664 from NousResearch/bb/fix-tui-forceredraw-export
fix(tui): expose forceRedraw in Ink type shim
This commit is contained in:
commit
41f70e6fc4
1 changed files with 1 additions and 0 deletions
1
ui-tui/src/types/hermes-ink.d.ts
vendored
1
ui-tui/src/types/hermes-ink.d.ts
vendored
|
|
@ -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 }
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue