Commit Graph

35 Commits

Author SHA1 Message Date
Mine Starks
dc1a77c721 Revert "chai: Use export as namespace instead of declare module" 2017-12-11 14:13:34 -08:00
Andy Hanson
c16e921dbc chai: Use export as namespace instead of declare module 2017-12-04 14:38:36 -08:00
Josh Goldberg
ad0e1920d2 Re-added exports and "chai" module to chai types (#21924)
* Re-added exports and "chai" module to chai types

Fixes issues with downstream typings and projects that relied on the chai module.

* Re-disabled packaging tslint rules
2017-12-04 10:44:00 -08:00
segayuu
d8ecf6029f argument rename 2017-12-01 13:21:21 +09:00
segayuu
e8b1de6864 Cleanup ignore lint error: no-inferrable-types 2017-12-01 13:11:02 +09:00
segayuu
8f2c412e78 Cleanup ignore lint error: no-construct
Every line that violates the rules has a clear intention of ensuring coverage.
2017-12-01 13:09:00 +09:00
segayuu
e080c0caa8 Cleanup ignore lint error: no-declare-current-package 2017-12-01 13:01:06 +09:00
segayuu
14af0a7169 Cleanup ignore lint error: prefer-const 2017-12-01 13:00:40 +09:00
segayuu
eac6a7d42f Cleanup lint error: strict-export-declare-modifiers 2017-12-01 12:54:04 +09:00
segayuu
5e7dfd0130 Cleanup lint error: no-unnecessary-class 2017-12-01 12:53:39 +09:00
segayuu
a16a867b2d index.d.ts has no dependency on node 2017-12-01 12:50:44 +09:00
segayuu
24ee831cd9 Cleanup ignore lint error: unified-signatures 2017-12-01 12:39:39 +09:00
segayuu
92728fb5e3 Cleanup ignore lint error: no-single-declare-module 2017-12-01 12:23:28 +09:00
segayuu
22a3706f11 Fix lint errors: dt-header, no-padding 2017-12-01 12:02:39 +09:00
segayuu
7f92dcf270 cleanup simple ignore style lint errors 2017-12-01 12:01:21 +09:00
segayuu
7acb643ae7 Delete unnecessary rule invalidation setting 2017-12-01 11:53:35 +09:00
Gintautas Miselis
75dd3af606 [chai] added missing include methods to Assert 2017-11-24 16:38:29 +00:00
Kevin Greene
739f083ca7 [chai] add missing methods to assert 2017-11-15 11:24:52 -08:00
Andy
19f89399e4 Ensure every package has a tslint.json (#21009)
* Ensure every package has a tslint.json

* Fixes
2017-10-25 11:13:50 -07:00
Andy
947a8fb761 Enable strictFunctionTypes (#20373) 2017-10-06 14:03:03 -07:00
Andy
924fafffc0 Fix remaining lint errors (#19166) 2017-08-20 15:37:53 -07:00
Shaun Luttin
be920333eb Add to the chai Assert interface (#18835)
* Add to the chai Assert interface

* Fix one-line missing whitespace
2017-08-10 16:33:27 -07:00
Shaun Luttin
50b8848115 Edit types for chai Assert (#18420) 2017-07-31 14:16:23 -07:00
Thomas Corbière
e9bd0622c4 Fixes new lines. 2017-06-23 09:00:20 +02:00
Thomas Corbière
e04a94ed93 Adds support for .ordered flag when using the assert syntax. 2017-06-22 10:48:44 +02:00
Thomas Corbière
238e4dd742 [Fixes #16906] Adds support for .ordered flag. 2017-06-22 10:27:35 +02:00
Thomas Corbière
a5bc52b046 Adds missing language chains. 2017-06-22 10:13:10 +02:00
Nathan Shively-Sanders
4874667de9 Fix primitive weak type errors
These weak type errors were not caught in TS 2.4 RC. The final TS 2.4
will catch weak type errors with primitives, so this PR fixes those
now-caught errors.
2017-06-15 11:46:46 -07:00
Eric Eslinger
010980994f adding nested keyword for chai v4 (#16852)
* adding nested keyword for chai v4

* bumping version to v4
2017-05-31 20:23:23 -07:00
Josh Goldberg
1b25b92cff chai.assert.throws should allow a regexp + message (#16068)
Fixes #16067.
2017-04-28 14:20:25 -07:00
Josh Goldberg
3bdc21a5b6 Fixed a value to have type V 2017-04-11 10:33:08 -07:00
Josh Goldberg
40354debb1 Addressed small PR feedback
Added back EOF endline; removed unnecessary parenthesis.
2017-04-06 09:13:07 -07:00
Josh Goldberg
4318786e2f Commented out keyof types in chai
They're also not TS 2 compatible...
2017-04-05 19:06:13 -07:00
Josh Goldberg
21290fe29e Docs and some missing functions for chai.assert
Bumped Chai version to 3.5.0.
2017-04-05 18:52:03 -07:00
Andy Hanson
354cec620d Move all packages to a types directory 2017-03-24 14:27:52 -07:00