Skip to content

Commit

Permalink
Update TypeScript declaration file
Browse files Browse the repository at this point in the history
  • Loading branch information
mesaugat committed Oct 25, 2017
1 parent 097513c commit b88f7de
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions lib/chai-exclude.d.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
/// <reference types="chai" />

declare global {
namespace Chai {
interface Assertion {
excluding(props: string|string[]): Assertion;
excludingEvery(props: string|string[]): Assertion;
}
}
declare module "chai-exclude" {
function chaiExclude(chai: any, utils: any): void;

export = chaiExclude;
}

declare function chaiExclude(chai: any, utils: any): void;
export = chaiExclude;
declare namespace Chai {
interface Assertion {
excluding(props: string | string[]): Assertion;
excludingEvery(props: string | string[]): Assertion;
}
}

0 comments on commit b88f7de

Please sign in to comment.