Commit graph

918 commits

Author SHA1 Message Date
Ryan Cavanaugh
f9923efd09 Merge pull request #9095 from RyanCavanaugh/implicitTypeReferences
Implicit type inclusion changes
2016-06-13 16:33:22 -07:00
Nathan Shively-Sanders
8b093128b3 Merge pull request #9036 from Microsoft/primitive-type-guards-are-order-independent
Primitive type guards are order independent
2016-06-13 10:52:06 -07:00
Ryan Cavanaugh
6702e651a3 CR changes 2016-06-13 10:15:29 -07:00
Ryan Cavanaugh
576f09f531 Merge 2016-06-10 15:47:51 -07:00
Ryan Cavanaugh
9827b638b4 Implicit type inclusion changes 2016-06-10 15:44:11 -07:00
Andy Hanson
ff6e025e8a Merge branch 'master' into shorthand_ambient_module 2016-06-10 06:03:54 -07:00
Nathan Shively-Sanders
86a6959e2a Merge branch 'master' into primitive-type-guards-are-order-independent 2016-06-09 15:56:34 -07:00
Nathan Shively-Sanders
a1e4b31d16 Allow null/undefined guard with null/undefined on left
Also add a test with baselines.
2016-06-09 15:48:35 -07:00
Andy
9ffd00d6ff Merge pull request #8939 from Microsoft/pattern_ambient_modules
Allow wildcard ("*") patterns in ambient module declarations
2016-06-09 13:08:02 -07:00
Andy Hanson
9fa971091c Add tests for more kinds of import/export 2016-06-09 12:46:52 -07:00
Andy Hanson
75c1d77606 Merge branch 'master' into shorthand_ambient_module 2016-06-09 11:43:18 -07:00
Andy
512c6719ae Merge pull request #8895 from Microsoft/strip_extension
Allow an import of "foo.js" to be matched by a file "foo.ts"
2016-06-09 11:38:26 -07:00
Andy Hanson
559b49baa9 Improve tests 2016-06-09 11:33:53 -07:00
Anders Hejlsberg
9e122909d4 Merge pull request #9031 from Microsoft/typeGuardIntersectionTypes
Type guard intersection types
2016-06-08 22:14:19 -07:00
Anders Hejlsberg
b1a749895a Fix comment 2016-06-08 18:39:07 -07:00
Anders Hejlsberg
d182a59782 Fix comments in tests 2016-06-08 16:35:39 -07:00
Anders Hejlsberg
b3c5c1db23 Merge pull request #9013 from Microsoft/typeGuardNestedAssignment
Allow nested assignments in type guards
2016-06-08 16:26:07 -07:00
Anders Hejlsberg
aeb1d97ced Merge pull request #8949 from Microsoft/strictNullLogicalAnd
Improve typing of && operator with --strictNullChecks
2016-06-08 16:24:51 -07:00
Nathan Shively-Sanders
11377f9fd3 Primitive type guards are now order independent 2016-06-08 15:56:25 -07:00
Mohamed Hegazy
d36d2b3eaa Merge pull request #8771 from YuichiNukiyama/fix8505
add SharedArrayBuffer
2016-06-08 13:27:09 -07:00
Anders Hejlsberg
a57ee29ff7 Add tests 2016-06-08 11:41:44 -07:00
Anders Hejlsberg
cdf5b7aeb3 Add tests 2016-06-07 17:37:18 -07:00
Nathan Shively-Sanders
5fef0804c8 Merge pull request #9003 from Microsoft/caseUndefinedAndNull
Allow case comparison to undefined and null in strict null checking mode
2016-06-07 09:25:03 -07:00
Nathan Shively-Sanders
b4f12144d2 Remove incorrectly added tests 2016-06-07 08:17:28 -07:00
Nathan Shively-Sanders
843aa6c1ef Allow case comparison to undefined and null in strict null checking mode 2016-06-07 07:51:34 -07:00
Andy
849ab7c5ec Merge pull request #8942 from Microsoft/param_trailing_commas
Allow trailing commas in function parameter and argument lists
2016-06-07 07:35:30 -07:00
Andy Hanson
ed48e58a38 Fix test 2016-06-07 06:10:47 -07:00
Andy Hanson
693cb9c6ca Add additional tests 2016-06-06 13:20:32 -07:00
Wesley Wigham
9761c3be97
Revert "Revert "Merge pull request #7235 from weswigham/narrow-all-types""
This reverts commit fc3e040c51.
2016-06-06 12:52:34 -07:00
Andy Hanson
704f9874e0 Move to a conformance test 2016-06-06 12:28:36 -07:00
Andy Hanson
f215ac94c2 Add another test 2016-06-06 12:02:31 -07:00
Andy Hanson
f832488801 Add "implicit any" warning for shorthand ambient modules 2016-06-06 08:14:49 -07:00
Andy Hanson
2fc2f5c4b9 Fix signature help 2016-06-06 07:50:32 -07:00
Andy Hanson
8b0974a77e Update tests 2016-06-03 09:29:21 -07:00
Andy Hanson
ed6bfcdb08 Add merging tests 2016-06-03 06:45:00 -07:00
Anders Hejlsberg
13698a9952 Add test 2016-06-02 17:37:25 -07:00
Andy Hanson
7e9cb46a1a Support shorthand ambient module declarations 2016-06-02 12:55:48 -07:00
Anders Hejlsberg
20bab14224 Add tests 2016-06-02 09:39:47 -07:00
Andy Hanson
4281bf5752 Allow trailing commas in function parameter and argument lists 2016-06-02 08:18:21 -07:00
Andy Hanson
3b19825890 Allow wildcard ("*") patterns in ambient module declarations 2016-06-02 05:44:49 -07:00
Anders Hejlsberg
4095602ce5 Merge pull request #8849 from Microsoft/outerControlFlows
Improve control flow analysis in function expressions
2016-05-31 14:51:39 -07:00
Anders Hejlsberg
4d730a5c6a Update test 2016-05-28 06:45:10 -07:00
Anders Hejlsberg
e5e21f9b5e Add new tests 2016-05-26 16:26:40 -07:00
Anders Hejlsberg
d20664aa69 Fix test 2016-05-26 16:26:30 -07:00
Nathan Shively-Sanders
42c17e194e Address PR comments 2016-05-25 17:03:33 -07:00
Nathan Shively-Sanders
5138e8be8e Correct tests and update baselines.
A lot of tests used non-numeric property names for object literals that
are contextually typed only by a numeric indexer.
2016-05-25 11:37:10 -07:00
Ryan Cavanaugh
7173fa8d02 Merge pull request #8670 from RyanCavanaugh/fix8275
Automatically consume @types/ folders
2016-05-24 15:23:06 -07:00
Nathan Shively-Sanders
a323fdf49d Instantiate this-type in super property access 2016-05-24 13:07:34 -07:00
Anders Hejlsberg
74e2154a51 Merge pull request #8767 from Microsoft/neverTypeInference
Only infer 'never' in function expressions and arrow functions
2016-05-23 15:40:18 -07:00
Nathan Shively-Sanders
1527499886 Merge pull request #8605 from Microsoft/recursively-remove-object-literal-freshness
Recursively mark object literals as non-fresh when checking assignability to intersections
2016-05-23 15:24:30 -07:00