Skip to content

Commit a6b1ad5

Browse files
committed
Revert "no longer need duplicate expect declaration"
This reverts commit e9aa9a3. This brings back TypeScript definition that is necessary for Cypress 1.1.4 to pass TS linter
1 parent f7c63e6 commit a6b1ad5

File tree

1 file changed

+3
-0
lines changed
  • examples/preprocessors__typescript-webpack/cypress/integration

1 file changed

+3
-0
lines changed

examples/preprocessors__typescript-webpack/cypress/integration/spec.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
import { add } from '../support/add'
22

3+
// brings type definition from @types/chai
4+
declare const expect: Chai.ExpectStatic
5+
36
describe('TypeScript', () => {
47
it('works', () => {
58
// note TypeScript definition

0 commit comments

Comments
 (0)