@types/chai-dom
Advanced tools
Comparing version 0.0.8 to 0.0.9
@@ -10,5 +10,3 @@ // Type definitions for chai-dom | ||
declare namespace Chai { | ||
interface Assertion { | ||
attr(name: string, value?: string): Assertion; | ||
@@ -24,3 +22,3 @@ | ||
text(text: string|string[]): Assertion; | ||
text(text: string | string[]): Assertion; | ||
@@ -35,3 +33,3 @@ value(text: string): Assertion; | ||
descendant(element: string|HTMLElement): Assertion; | ||
descendant(element: string | HTMLElement): Assertion; | ||
@@ -44,23 +42,19 @@ descendants(selector: string): Assertion; | ||
visible: Assertion; | ||
} | ||
interface Include { | ||
text(text: string | string[]): Assertion; | ||
text(text: string|string[]): Assertion; | ||
html(text: string|string[]): Assertion; | ||
html(text: string | string[]): Assertion; | ||
} | ||
interface Match { | ||
(selector: string): Assertion; | ||
} | ||
} | ||
declare module "chai-dom" { | ||
declare module 'chai-dom' { | ||
const chaiDom: Chai.ChaiPlugin; | ||
export = chaiDom; | ||
} |
{ | ||
"name": "@types/chai-dom", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "TypeScript definitions for chai-dom", | ||
@@ -14,3 +14,3 @@ "license": "MIT", | ||
"main": "", | ||
"types": "index", | ||
"types": "index.d.ts", | ||
"repository": { | ||
@@ -25,4 +25,4 @@ "type": "git", | ||
}, | ||
"typesPublisherContentHash": "3981d8602483ee97dbbd705b75fd46fe97b074992b6ae8ad1ddaecc932cf4523", | ||
"typesPublisherContentHash": "1dc541cd2023738878b96d83c53a1fad037529d07224bd1b2d2ac2a008fb0b3b", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -8,10 +8,10 @@ # Installation | ||
# Details | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-dom | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/chai-dom. | ||
Additional Details | ||
* Last updated: Thu, 08 Aug 2019 16:09:05 GMT | ||
* Dependencies: @types/chai | ||
### Additional Details | ||
* Last updated: Fri, 03 Apr 2020 18:06:22 GMT | ||
* Dependencies: [@types/chai](https://npmjs.com/package/@types/chai) | ||
* Global values: none | ||
# Credits | ||
These definitions were written by Matt Lewis <https://github.com/mattlewis92>. | ||
These definitions were written by [Matt Lewis](https://github.com/mattlewis92). |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
3862
37