mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 03:21:16 +08:00
Also update the PRESUBMIT linter configuration to make sure it actually runs the linter when updating ESLint. Otherwise, it would not properly do the full linter check. R=jacktfranklin@chromium.org DISABLE_THIRD_PARTY_CHECK=Update ESLint Bug: 1068145 Change-Id: Ibf2de156366dc64c90ee1aced5537d2038e7a268 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/2137384 Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>
46 lines
796 B
TypeScript
46 lines
796 B
TypeScript
/// <reference types="node"/>
|
|
|
|
/**
|
|
Show cursor.
|
|
|
|
@param stream - Default: `process.stderr`.
|
|
|
|
@example
|
|
```
|
|
import * as cliCursor from 'cli-cursor';
|
|
|
|
cliCursor.show();
|
|
```
|
|
*/
|
|
export function show(stream?: NodeJS.WritableStream): void;
|
|
|
|
/**
|
|
Hide cursor.
|
|
|
|
@param stream - Default: `process.stderr`.
|
|
|
|
@example
|
|
```
|
|
import * as cliCursor from 'cli-cursor';
|
|
|
|
cliCursor.hide();
|
|
```
|
|
*/
|
|
export function hide(stream?: NodeJS.WritableStream): void;
|
|
|
|
/**
|
|
Toggle cursor visibility.
|
|
|
|
@param force - Is useful to show or hide the cursor based on a boolean.
|
|
@param stream - Default: `process.stderr`.
|
|
|
|
@example
|
|
```
|
|
import * as cliCursor from 'cli-cursor';
|
|
|
|
const unicornsAreAwesome = true;
|
|
cliCursor.toggle(unicornsAreAwesome);
|
|
```
|
|
*/
|
|
export function toggle(force?: boolean, stream?: NodeJS.WritableStream): void;
|