bump @types/jquery (#2369)

* bump @types/jquery
* update expected Cypress.$ type
This commit is contained in:
Jennifer Shehane
2018-08-28 11:52:05 -04:00
committed by GitHub
parent 9d581fdbf1
commit 3b804cd09c
2 changed files with 2 additions and 2 deletions

View File

@@ -39,7 +39,7 @@
"@types/bluebird": "3.5.18",
"@types/chai": "4.0.8",
"@types/chai-jquery": "1.1.35",
"@types/jquery": "3.2.16",
"@types/jquery": "3.3.6",
"@types/lodash": "4.14.87",
"@types/minimatch": "3.0.3",
"@types/mocha": "2.2.44",

View File

@@ -6,7 +6,7 @@ namespace CypressLodashTests {
}
namespace CypressJqueryTests {
Cypress.$ // $ExpectType JQueryStatic<HTMLElement>
Cypress.$ // $ExpectType JQueryStatic
Cypress.$('selector') // $ExpectType JQuery<HTMLElement>
Cypress.$('selector').click() // $ExpectType JQuery<HTMLElement>
}