@types/ink-testing-library
TypeScript icon, indicating that this package has built-in type declarations

1.0.4 • Public • Published

Installation

npm install --save @types/ink-testing-library

Summary

This package contains type definitions for ink-testing-library (https://github.com/vadimdemedes/ink-testing-library#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ink-testing-library.

index.d.ts

import { Component, InkElement } from "ink";
export interface RenderResponse {
    rerender: (tree: InkElement) => void;
    unmount: () => void;
    stdin: {
        write: (data: any) => boolean;
    };
    frames: readonly string[];
    lastFrame: () => string;
}
export function cleanup(): void;
export function render(tree: InkElement): RenderResponse;

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:24 GMT
  • Dependencies: @types/ink

Credits

These definitions were written by Sam Palmer.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/ink-testing-library

Weekly Downloads

59

Version

1.0.4

License

MIT

Unpacked Size

3.44 kB

Total Files

5

Last publish

Collaborators

  • types