Wesley Wigham
4be87e6771
Remove circle & jenkins ( #23752 )
2018-04-30 12:51:48 -07:00
Mohamed Hegazy
2c956af927
Merge pull request #23664 from a-tarasyuk/feature/strictPropertyInitialization-can-not-be-used-without-strictNullChecks
...
Add warn that user can not use --strictPropertyInitialization without --strictNullChecks
2018-04-30 12:10:54 -07:00
Anders Hejlsberg
83bc70dd63
Merge pull request #23782 from Microsoft/controlFlowNullTypeAndLiteral
...
Control flow for null type vs. literal
2018-04-30 11:38:00 -07:00
Anders Hejlsberg
a286cffb5b
Accept new baselines
2018-04-30 10:44:53 -07:00
Anders Hejlsberg
0dc42fea74
Add regression tests
2018-04-30 10:43:55 -07:00
Anders Hejlsberg
672d2144fa
Check for null type instead of null keyword
2018-04-30 10:43:43 -07:00
Sheetal Nandi
33ba2509a2
Merge pull request #23753 from Microsoft/emptyOptions
...
Handle the test case when tsconfig file changes without needing to update the program
2018-04-30 10:42:14 -07:00
Mohamed Hegazy
8793b8c56b
Merge pull request #23697 from Ken703/bug/23047
...
Formatting: fix unwanted space between closing parenthesis and string template
2018-04-30 10:19:17 -07:00
Anders Hejlsberg
33d20e9321
Merge pull request #23768 from Microsoft/fixIndexedAccessAssignability
...
Fix assignability of unconstrained T[K]
2018-04-29 09:29:02 -07:00
Anders Hejlsberg
f46040bdab
Accept new baselines
2018-04-29 07:55:28 -07:00
Anders Hejlsberg
936444ad7b
Add tests
2018-04-29 07:55:23 -07:00
Anders Hejlsberg
fc2f16ca3c
Treat unconstrained T[K] the same as unconstrained T
2018-04-29 07:46:57 -07:00
Ken703
4e401ca361
update string template rule and test
2018-04-28 19:59:41 -04:00
csigs
732661c70b
LEGO: Merge pull request 23766
...
LEGO: Merge pull request 23766
2018-04-28 15:10:56 -07:00
csigs
db9685c645
LEGO: check in for master to temporary branch.
2018-04-28 22:10:35 +00:00
Anders Hejlsberg
25d5952096
Merge pull request #23751 from Microsoft/reduceIntersectionTypes
...
Remove redundant primitive types from intersections
2018-04-28 11:42:56 -07:00
Mohamed Hegazy
52b809f4d7
Merge pull request #23760 from j-oliveras/update_issue_template
...
Update issue template to match current nightly builds versions
2018-04-28 11:36:04 -07:00
Anders Hejlsberg
5a7eb1cbc8
Fix typo
2018-04-28 08:24:41 -07:00
csigs
6e0442e15a
LEGO: Merge pull request 23761
...
LEGO: Merge pull request 23761
2018-04-28 03:10:53 -07:00
csigs
88dcdf9e38
LEGO: check in for master to temporary branch.
2018-04-28 10:10:32 +00:00
Jordi Oliveras Rovira
e77da73efe
Update issue template to match current nightly builds versions.
2018-04-28 11:53:02 +02:00
Daniel Rosenwasser
443c1c7965
Merge pull request #23327 from Microsoft/importDotMeta
...
Support 'import.meta'
2018-04-27 20:52:28 -07:00
Daniel Rosenwasser
12a3e39dca
Specify ESNext module in test.
2018-04-27 18:17:49 -07:00
Daniel Rosenwasser
161535bc84
Check for both 'module' and 'target'.
2018-04-27 17:51:18 -07:00
Daniel Rosenwasser
bc0d3e1297
Look for top-level imports/exports before diving into the tree.
2018-04-27 17:25:23 -07:00
Sheetal Nandi
44066d6c7a
Handle the test case when tsconfig file changes without needing to update the program
...
Fixes #23687
2018-04-27 16:59:50 -07:00
Anders Hejlsberg
e80b47da9e
Accept new baselines
2018-04-27 16:50:17 -07:00
Anders Hejlsberg
38d1f7f0d2
Add tests
2018-04-27 16:50:09 -07:00
Wesley Wigham
8c5ad2429a
Relax switch-case narrowing restrictions ( #23522 )
...
* Allow switch case narrowing even when individual clauses are nonunit
* And remove unit type restriction
* Rename
2018-04-27 16:30:43 -07:00
Wesley Wigham
47385b29e0
Actually visit expression node on empty destructuring assignment ( #23744 )
2018-04-27 15:55:53 -07:00
Wesley Wigham
6d3b6e21da
Add implicit any errors for destructuring computed names which aren't late bound and have no corresponding index ( #23489 )
...
* Add implicit any errors for destructuring computed names which arent late bound and have no corresponding index
* Add string fallback for number
* Expand test case, make functionality mimic other (buggy) areas
* Add symbol name errors to bring in line with new indexing rules
2018-04-27 15:55:32 -07:00
Anders Hejlsberg
cfe7284876
Merge branch 'master' into reduceIntersectionTypes
2018-04-27 15:54:17 -07:00
Anders Hejlsberg
6c28da328e
Merge pull request #23672 from Microsoft/intersectionWithUnionConstraint
...
Type relationships for intersections with union constraints
2018-04-27 15:53:00 -07:00
Anders Hejlsberg
5ecd03e8c0
Merge pull request #23660 from Microsoft/fixIndexTypeTargetConstraint
...
Fix constraint of 'keyof T[K]' in target position
2018-04-27 15:52:21 -07:00
csigs
d7d220d16a
LEGO: Merge pull request 23748
...
LEGO: Merge pull request 23748
2018-04-27 15:11:23 -07:00
csigs
5756c34457
LEGO: check in for master to temporary branch.
2018-04-27 22:11:01 +00:00
Nathan Shively-Sanders
3631af6486
Remove readonly from object rest properties ( #23746 )
...
* Remove readonly from object rest properties
Works the same as removing it from object spread properties
* Fix bug number in test
2018-04-27 14:54:59 -07:00
Wesley Wigham
d5ef1174bd
Copy consistient valueDeclarations on union/intersection symbols ( #23190 )
2018-04-27 13:12:35 -07:00
Anders Hejlsberg
d25a6ec9ad
Remove redundant primitive types from intersections with literal types
2018-04-27 10:40:16 -07:00
Andy
bcb5599bf2
Fix typo ( #23725 )
2018-04-26 16:18:47 -07:00
Nathan Shively-Sanders
1595f7fe83
Add prettier user test and fix associated crash ( #23715 )
...
* Add prettier and fix crash bug
Name resolution would crash when resolving a type name inside a
typedef's property tag.
* Update tsconfig and thefore prettier baseline
2018-04-26 14:03:18 -07:00
Alexander T
f04a18ae5b
Add tests
2018-04-26 20:18:24 +03:00
Nathan Shively-Sanders
1541599ea0
Check base type for special property declarations ( #23671 )
...
If the base type has a property by that name, add it to the list
constructor types to make it as authoritative as special assignments
found in the constructor.
2018-04-26 08:14:22 -07:00
Andy
aa102435b3
Fix insertNodeAtClassStart for empty class with comment ( #23342 )
2018-04-26 08:00:38 -07:00
Daniel Rosenwasser
9672116d8c
Merge remote-tracking branch 'origin/master' into importDotMeta
2018-04-25 22:21:56 -07:00
csigs
76e7d91a26
LEGO: Merge pull request 23699
...
LEGO: Merge pull request 23699
2018-04-25 21:10:40 -07:00
csigs
096f65c05d
LEGO: check in for master to temporary branch.
2018-04-26 04:10:18 +00:00
Ken703
d9bc436788
Auto format: no space between closing parenthesis and string template
2018-04-25 21:10:35 -04:00
Andy
cdfd92b90d
Don't add import completion from a re-export in "./index" ( #23623 )
...
* Don't add import completion from a re-export in "./index"
* Simpler heuristic
2018-04-25 16:15:49 -07:00
Andy
4a379d66d4
Use @types/travis-fold ( #23694 )
2018-04-25 16:15:06 -07:00