Fix CI build
This commit is contained in:
Родитель
3b4df419f4
Коммит
759603a71e
|
@ -1,6 +1,6 @@
|
|||
language: node_js
|
||||
- 9
|
||||
- 8
|
||||
- "node"
|
||||
|
||||
dist: trusty
|
||||
|
||||
sudo: false
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
"@types/faker": "4.1.2",
|
||||
"@types/jasmine": "2.8.6",
|
||||
"@types/jasmine-ajax": "3.1.37",
|
||||
"@types/node": "9.6.17",
|
||||
"faker": "4.1.0",
|
||||
"fork-ts-checker-webpack-plugin": "0.4.1",
|
||||
"jasmine": "3.1.0",
|
||||
|
@ -55,6 +56,10 @@
|
|||
"xmlhttprequest",
|
||||
"superagent"
|
||||
],
|
||||
"engines": {
|
||||
"node": ">=9.9.0",
|
||||
"npm": ">=5.6.0"
|
||||
},
|
||||
"license": "MIT",
|
||||
"types": "dist/SimpleRestClients.d.ts"
|
||||
}
|
||||
|
|
|
@ -1,58 +0,0 @@
|
|||
// Type definitions for assert and power-assert
|
||||
// Project: https://github.com/Jxck/assert
|
||||
// Project: https://github.com/twada/power-assert
|
||||
// Definitions by: vvakame <https://github.com/vvakame>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
// copy from assert external module in node.d.ts
|
||||
|
||||
declare function assert(value:any, message?:string):void;
|
||||
declare namespace assert {
|
||||
export class AssertionError implements Error {
|
||||
name:string;
|
||||
message:string;
|
||||
actual:any;
|
||||
expected:any;
|
||||
operator:string;
|
||||
generatedMessage:boolean;
|
||||
|
||||
constructor(options?:{message?: string; actual?: any; expected?: any; operator?: string; stackStartFunction?: Function});
|
||||
}
|
||||
|
||||
export function fail(actual?:any, expected?:any, message?:string, operator?:string):void;
|
||||
|
||||
export function ok(value:any, message?:string):void;
|
||||
|
||||
export function equal(actual:any, expected:any, message?:string):void;
|
||||
|
||||
export function notEqual(actual:any, expected:any, message?:string):void;
|
||||
|
||||
export function deepEqual(actual:any, expected:any, message?:string):void;
|
||||
|
||||
export function notDeepEqual(acutal:any, expected:any, message?:string):void;
|
||||
|
||||
export function strictEqual(actual:any, expected:any, message?:string):void;
|
||||
|
||||
export function notStrictEqual(actual:any, expected:any, message?:string):void;
|
||||
|
||||
export var throws:{
|
||||
(block:Function, message?:string): void;
|
||||
(block:Function, error:Function, message?:string): void;
|
||||
(block:Function, error:RegExp, message?:string): void;
|
||||
(block:Function, error:(err:any) => boolean, message?:string): void;
|
||||
};
|
||||
|
||||
export var doesNotThrow:{
|
||||
(block:Function, message?:string): void;
|
||||
(block:Function, error:Function, message?:string): void;
|
||||
(block:Function, error:RegExp, message?:string): void;
|
||||
(block:Function, error:(err:any) => boolean, message?:string): void;
|
||||
};
|
||||
|
||||
export function ifError(value:any):void;
|
||||
}
|
||||
|
||||
// duplicate to node.d.ts
|
||||
declare module "assert" {
|
||||
export = assert;
|
||||
}
|
Загрузка…
Ссылка в новой задаче