Anders Hejlsberg
06d07b08d9
Accept new baselines
2019-04-11 16:22:09 -10:00
Anders Hejlsberg
e44a52a011
Add regression test
2019-04-11 16:22:01 -10:00
Anders Hejlsberg
2ee2ffb8e7
Use object identity check instead of IsTypeIdenticalTo
2019-04-11 16:14:21 -10:00
Anders Hejlsberg
42302705f6
Merge pull request #30856 from Microsoft/nonInferrableType
...
Add a proper non-inferrable type
2019-04-11 11:45:17 -10:00
Nathan Shively-Sanders
84427ea90e
Update DOM 2019/04/11 ( #30867 )
...
* Update DOM 2019/04/11
* Update baselines
2019-04-11 13:27:21 -07:00
Anders Hejlsberg
d78937e766
Accept new baselines
2019-04-10 17:49:47 -10:00
Anders Hejlsberg
a764729b38
Add tests
2019-04-10 17:42:08 -10:00
Anders Hejlsberg
ca47ddb583
Only infer to single naked type parameters in intersections
2019-04-10 17:41:51 -10:00
Anders Hejlsberg
791f56d22f
Accept new baselines
2019-04-10 17:13:11 -10:00
Anders Hejlsberg
8cd5d61644
Add regression test
2019-04-10 17:13:04 -10:00
Anders Hejlsberg
4b813e310c
Simplify non-inferrable property check to rely on propagation
2019-04-10 17:05:07 -10:00
Anders Hejlsberg
411e7144a9
Add new nonInferrableType with ObjectFlags.NonInferrableType
2019-04-10 16:53:38 -10:00
Nathan Shively-Sanders
ff959096df
Fix some bad jsdoc comment indent ( #30838 )
...
* First draft
Solves the initial problem but breaks commentCommentParsing. I also
found a couple more interesting cases.
* Add more tests and fix their bugs
* Another test case
* Some cleanup
I may try do a little more; `margin += tag.end - tag.pos` bothers me a
bit.
* More cleanup
2019-04-10 08:22:09 -07:00
Anders Hejlsberg
67854725a8
Accept new baselines
2019-04-09 15:29:57 -10:00
Anders Hejlsberg
68eb7b9fe2
Add test
2019-04-09 15:29:51 -10:00
Anders Hejlsberg
c8ff4bd9b3
Properly filter mapped types in getIndexType with noIndexSignatures=true
2019-04-09 15:29:40 -10:00
Anders Hejlsberg
fa407cef85
Remove old comment
2019-04-09 07:51:12 -10:00
TypeScript Bot
ef4acc8841
Update user baselines ( #30832 )
2019-04-09 09:33:49 -07:00
Anders Hejlsberg
685126811a
Accept new baselines
2019-04-08 09:37:01 -10:00
Anders Hejlsberg
eb1e7ec6db
Optimize T[K] where T has string index signature and no other members
2019-04-08 09:36:34 -10:00
Nathan Shively-Sanders
90b304aa5e
Merge pull request #30786 from Microsoft/always-check-class-extends
...
Always check extends clause of classes
2019-04-08 10:25:05 -07:00
Andrew Branch
786753d13f
Use suggestion instead of ignoring UMD global access
2019-04-08 09:46:48 -07:00
Andrew Branch
98cd89fbc1
Add affectsSemanticDiagnostics to flag (and move to right spot)
2019-04-08 09:46:48 -07:00
Andrew Branch
6c06507f0d
Update baselines with new flag
2019-04-08 09:46:48 -07:00
Andrew Branch
28b21df943
Add period to compiler flag description to match others
2019-04-08 09:46:47 -07:00
Andrew Branch
57b9e38397
Add baselines for UMD global access
2019-04-08 09:46:47 -07:00
Andrew Branch
11e45162ea
Don’t emit diagnostic accessing UMD globals from modules when flag is set
2019-04-08 09:46:47 -07:00
Andrew Branch
6d1d680c0e
Add test
2019-04-08 09:46:47 -07:00
Andrew Branch
2ee93bf0f2
Add allowUmdGlobalAccess flag
2019-04-08 09:46:46 -07:00
Anders Hejlsberg
71f3e1fdde
Accept new baselines
2019-04-08 06:43:10 -10:00
Nathan Shively-Sanders
86f0d4b95a
Merge pull request #30754 from Microsoft/update-dom-042019
...
Update DOM 04-04-2019
2019-04-08 09:38:31 -07:00
Anders Hejlsberg
b49a34375d
Simplify obtaining base constraint of T[K] for writing
2019-04-08 06:36:00 -10:00
Andrew Branch
bafa4c90c1
Merge pull request #30758 from andrewbranch/bug/30647
...
Fix crash when checking function call
2019-04-08 09:22:39 -07:00
Nathan Shively-Sanders
c9f44f54c6
Merge branch 'master' into update-dom-042019
2019-04-08 09:06:34 -07:00
Nathan Shively-Sanders
2c9f7e6ef1
Merge pull request #30812 from typescript-bot/user-update-Microsoft-20190301
...
🤖 User test baselines have changed
2019-04-08 07:47:45 -07:00
typescript-bot
b39e11b273
Update user baselines
2019-04-08 13:30:46 +00:00
Anders Hejlsberg
89386ddda7
Merge pull request #30801 from Microsoft/tweakUnionTypeInference
...
Tweak union type inference
2019-04-06 21:13:30 -07:00
Anders Hejlsberg
40827eb8f8
Accept new baselines
2019-04-06 17:17:26 -10:00
Anders Hejlsberg
2b6e7304c1
Merge branch 'master' into tweakUnionTypeInference
2019-04-06 08:12:45 -10:00
Anders Hejlsberg
cd646dab7e
Add tests
2019-04-06 07:59:39 -10:00
Anders Hejlsberg
e1fd5e5225
Fix unsafe parameter coercions related to PragmaPseudoMap
2019-04-06 06:29:59 -10:00
Anders Hejlsberg
9832a83711
Accept new baselines
2019-04-05 17:00:47 -10:00
Anders Hejlsberg
294580287d
Merge branch 'master' into saferIndexedAccessTypes
2019-04-05 16:23:48 -10:00
Wesley Wigham
60346b56a8
Do not request reviewers for fork-triggered PRs, just mention them
2019-04-05 18:29:30 -07:00
Wesley Wigham
73616c9725
More conditional linkage in user PR responses when manually triggered
2019-04-05 17:52:24 -07:00
Nathan Shively-Sanders
1218f29662
Merge branch 'master' into always-check-class-extends
2019-04-05 16:41:15 -07:00
Nathan Shively-Sanders
dabf2a6af2
Always check extends clause of classes
...
Even if (1) @extends is provided and (2) we're not producing
diagnostics. That's because we need to know whether the extends clause
references an imported alias.
2019-04-05 16:37:27 -07:00
Wesley Wigham
0ddd847e03
Small addition to user PR script to support fork/branch PRs
2019-04-05 16:28:25 -07:00
Wesley Wigham
c1f2aba364
Cache substitution types ( #30775 )
2019-04-05 14:37:47 -07:00
Anders Hejlsberg
f93f8d32c4
Tweak union type inference to restore previous behavior
2019-04-05 13:23:54 -07:00