array-type: [ default: array, generic: array ]

This commit is contained in:
Alexander
2019-08-08 21:30:18 +03:00
parent c7834c54d8
commit ceccfd8867
141 changed files with 1620 additions and 1620 deletions

View File

@@ -8,7 +8,7 @@ declare class FailedTestsReporter extends Mocha.reporters.Base {
reporterOptions: FailedTestsReporter.ReporterOptions;
reporter?: Mocha.reporters.Base;
constructor(runner: Mocha.Runner, options?: { reporterOptions?: FailedTestsReporter.ReporterOptions });
static writeFailures(file: string, passes: ReadonlyArray<Mocha.Test>, failures: ReadonlyArray<Mocha.Test>, keepFailed: boolean, done: (err?: NodeJS.ErrnoException) => void): void;
static writeFailures(file: string, passes: readonly Mocha.Test[], failures: readonly Mocha.Test[], keepFailed: boolean, done: (err?: NodeJS.ErrnoException) => void): void;
done(failures: number, fn?: (failures: number) => void): void;
}

View File

@@ -19,7 +19,7 @@ declare module "vinyl" {
cwd: string;
base: string;
path: string;
readonly history: ReadonlyArray<string>;
readonly history: readonly string[];
contents: T;
relative: string;
dirname: string;
@@ -45,7 +45,7 @@ declare module "vinyl" {
cwd?: string;
base?: string;
path?: string;
history?: ReadonlyArray<string>;
history?: readonly string[];
stat?: import("fs").Stats;
contents?: T;
sourceMap?: import("./sourcemaps").RawSourceMap | string;