Remove types for newman from typescript-typings

This commit is contained in:
Leonid Logvinov
2018-09-04 14:47:29 +02:00
parent 78d4fc59a5
commit c13190ceab
2 changed files with 1 additions and 24 deletions

View File

@@ -51,6 +51,7 @@
"@types/mocha": "^2.2.48",
"@types/nock": "^9.1.2",
"@types/node": "^8.0.53",
"@types/newman": "^3.9.0",
"@types/yargs": "^10.0.0",
"chai": "^4.0.1",
"chai-as-promised": "^7.1.0",

View File

@@ -1,24 +0,0 @@
declare module 'newman' {
export interface NewmanRunSummary {
run: NewmanRun;
}
export interface NewmanRun {
executions: NewmanRunExecution[];
}
export interface NewmanRunExecution {
item: NewmanRunExecutionItem;
assertions: NewmanRunExecutionAssertion[];
}
export interface NewmanRunExecutionItem {
name: string;
}
export interface NewmanRunExecutionAssertion {
assertion: string;
error: NewmanRunExecutionAssertionError;
}
export interface NewmanRunExecutionAssertionError {
message: string;
}
// tslint:disable-next-line:completed-docs
export function run(options: any, callback?: (err: Error | null, summary: NewmanRunSummary) => void): void;
}