mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
fix chai-json-schema styling (#13537)
This commit is contained in:
Vendored
+12
-12
@@ -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 +1 @@
|
||||
{ "extends": "../tslint.json",
|
||||
"rules": {
|
||||
"no-single-declare-module": false
|
||||
}
|
||||
}
|
||||
{ "extends": "../tslint.json" }
|
||||
|
||||
Reference in New Issue
Block a user