Skip to content

Interface: SpinnerResult ​

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:864

Extended by ​

Properties ​

PropertyModifierTypeDefined in

isCancelled

readonly

boolean

node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:871

Methods ​

cancel() ​

ts
cancel(msg?): void;

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:867

Parameters ​

ParameterType

msg?

string

Returns ​

void


clear() ​

ts
clear(): void;

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:870

Returns ​

void


error() ​

ts
error(msg?): void;

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:868

Parameters ​

ParameterType

msg?

string

Returns ​

void


message() ​

ts
message(msg?): void;

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:869

Parameters ​

ParameterType

msg?

string

Returns ​

void


start() ​

ts
start(msg?): void;

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:865

Parameters ​

ParameterType

msg?

string

Returns ​

void


stop() ​

ts
stop
(msg?): void;

Defined in: node_modules/.pnpm/@clack+prompts@1.9.0/node_modules/@clack/prompts/dist/index.d.mts:866

Parameters ​

ParameterType

msg?

string

Returns ​

void

基于 MIT 许可证发布