mirror of
https://github.com/microsoft/TypeScript.git
synced 2026-03-15 14:05:47 -05:00
array-type: [ default: array, generic: array ]
This commit is contained in:
2
scripts/failed-tests.d.ts
vendored
2
scripts/failed-tests.d.ts
vendored
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
4
scripts/types/ambient.d.ts
vendored
4
scripts/types/ambient.d.ts
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user