mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-16 15:00:26 +00:00
Converted arrays to ReadOnlyArray
This commit is contained in:
Vendored
+2
-2
@@ -37,9 +37,9 @@ interface ListrTaskWrapper {
|
||||
}
|
||||
|
||||
declare class Listr {
|
||||
constructor(tasks?: ListrTask[], options?: ListrOptions);
|
||||
constructor(tasks?: ReadonlyArray<ListrTask>, options?: ListrOptions);
|
||||
constructor(options?: ListrOptions);
|
||||
add(tasks: ListrTask | ListrTask[]): void;
|
||||
add(tasks: ListrTask | ReadonlyArray<ListrTask>): void;
|
||||
run(ctx?: any): Promise<any>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user