fix chai-json-schema styling (#13537)

This commit is contained in:
Masahiro Wakame
2017-01-03 14:37:51 -08:00
committed by Andy
parent 88184efb06
commit 36a5697b55
2 changed files with 13 additions and 17 deletions
+12 -12
View File
@@ -6,19 +6,19 @@
// <reference types="node"/>
// <reference types="chai" />
declare namespace Chai {
export interface Assert {
jsonSchema(value: any, schema: any, msg?: string): void;
notJsonSchema(value: any, schema: any, msg?: string): void;
}
declare global {
namespace Chai {
export interface Assert {
jsonSchema(value: any, schema: any, msg?: string): void;
notJsonSchema(value: any, schema: any, msg?: string): void;
}
export interface LanguageChains {
jsonSchema(schema: any, msg?: string): void;
export interface LanguageChains {
jsonSchema(schema: any, msg?: string): void;
}
}
}
declare module "chai-json-schema" {
function chaiJsonSchema(chai: any, utils: any): void;
namespace chaiJsonSchema {}
export = chaiJsonSchema;
}
declare function chaiJsonSchema(chai: any, utils: any): void;
declare namespace chaiJsonSchema { }
export = chaiJsonSchema;
+1 -5
View File
@@ -1,5 +1 @@
{ "extends": "../tslint.json",
"rules": {
"no-single-declare-module": false
}
}
{ "extends": "../tslint.json" }