29144 Commits

Author SHA1 Message Date
Sheetal Nandi
827427f35b Add test for --tsbuildinfo not as absolute or relative path 2019-10-14 14:29:14 -07:00
Martin
b7c85c7382 Update Math.round in es5.d.ts (#33920)
Update documentation of Math.round to reflect that it turns a float in to an integer and returns an integer.
2019-10-14 10:55:55 -07:00
TypeScript Bot
c2f2ac1d0b Update user baselines (#34345) 2019-10-14 10:35:11 -07:00
Andrew Branch
e146f0d13d
Allow inferFromUsage to do auto-imports (#33915)
* Add test

* Auto-import instead of using ImportTypeNodes

* Write more tests and fix namespace case

* Remove unused enum memmber

* Update API baselines

* Lint

* Style nits and util consolidation
2019-10-14 10:33:00 -07:00
Ingvar Stepanyan
1820df187b Update DOM from TSJS-lib-generator (#33753)
This bumps generated bindings to include https://github.com/microsoft/TSJS-lib-generator/pull/767.

Note that other related APIs were already updated in https://github.com/microsoft/TSJS-lib-generator/pull/755 and https://github.com/microsoft/TSJS-lib-generator/pull/756 and included in current TypeScript beta.

Unfortunately, this one slipped under the radar, but it would be really great to include these changes in beta too for consistency between different WebAssembly methods.
2019-10-14 09:00:33 -07:00
Anders Hejlsberg
21758a8b84 Accept new baselines 2019-10-13 09:46:02 -07:00
Anders Hejlsberg
cc817bc63e Add tests 2019-10-13 09:45:56 -07:00
Anders Hejlsberg
a8b9f964b6 Use control flow analyzer for switch case fallthrough checks 2019-10-13 09:45:47 -07:00
TypeScript Bot
0d75038632 Update user baselines (#34112) 2019-10-13 05:23:42 -07:00
csigs
b0d967bcb5
LEGO: Merge pull request 34111
LEGO: Merge pull request 34111
2019-10-12 21:10:40 -07:00
csigs
7df1ab7375 LEGO: check in for master to temporary branch. 2019-10-13 04:10:12 +00:00
TypeScript Bot
97a4a0e27c Update user baselines (#34002) 2019-10-12 11:06:05 -07:00
Ben Lichtman
fcdd5bd782 Add assertion when classification has unexpected length 2019-10-10 16:28:41 -07:00
Sheetal Nandi
35a6426a79
Merge pull request #33647 from microsoft/defaultProject
Use correct default project for file if that project is opened at later time
2019-10-10 16:01:39 -07:00
Sheetal Nandi
57d7edb7bd
Merge pull request #33883 from microsoft/revert-32887-incrementalNoEmit
Revert "Disallow incremental with noEmit"
2019-10-10 13:08:35 -07:00
Sheetal Nandi
144b81c67a Use correct default project for file if that project is opened at later time
Fixes #31926
2019-10-10 13:02:33 -07:00
Orta
ae4abc5f5e
Merge pull request #33906 from falsandtru/github
Update issue templates
2019-10-10 11:52:23 -07:00
Daniel Rosenwasser
6162001254
fix #33427 (#33486)
fix #33427
2019-10-10 10:13:36 -07:00
Wesley Wigham
114329ade8
Handle when import alias has to parent (therefore is synthetic module symbol) (#33813) 2019-10-10 04:29:33 -07:00
Andrew Casey
3c123b61d7
Merge pull request #33914 from amcasey/ConflictMarker
Handle string literals in merge conflict regions
2019-10-09 16:04:58 -07:00
falsandtru
834b3f7d64 Update issue templates 2019-10-10 07:36:14 +09:00
Andrew Casey
87c905f423 Handle string literals in merge conflict regions
Check for undefined, like the other code paths in the same function.
2019-10-09 14:46:19 -07:00
Anders Hejlsberg
6104f746ad
Merge pull request #33831 from microsoft/falseAssertions
Code following truthiness assertion with false argument is unreachable
2019-10-09 13:23:05 -07:00
TypeScript Bot
161b90a311 Update user baselines (#33909) 2019-10-09 12:11:02 -07:00
TypeScript Bot
9823d82b26 Update user baselines (#33905) 2019-10-09 11:07:16 -07:00
Klaus Meinhardt
e48cd3a101 Fix noImplicitAny check on ambient private getters (#33896) 2019-10-09 10:05:26 -07:00
csigs
3d130b7d5e
LEGO: Merge pull request 33904
LEGO: Merge pull request 33904
2019-10-09 09:10:46 -07:00
csigs
ab181ffe2c LEGO: check in for master to temporary branch. 2019-10-09 16:10:17 +00:00
TypeScript Bot
d45c54572b Update user baselines (#33887) 2019-10-08 21:57:27 -07:00
Sheetal Nandi
8032984de2
Revert "Disallow incremental with noEmit" 2019-10-08 13:41:40 -07:00
Wesley Wigham
f1c0300c02
Include project reference in release config so LKG build works (#33864) 2019-10-07 17:31:42 -07:00
Wenlu Wang
3d8252c70e avoid space before dot question (#33840) 2019-10-07 17:11:54 -07:00
Ron Buckton
01b3d41124
Add external mapShim/debug modules (#33712)
* Add external mapShim/debug modules

* rename test file
2019-10-07 13:31:07 -07:00
TypeScript Bot
154793aa58 Update user baselines (#33838)
Node node, new baseline
2019-10-07 12:53:26 -07:00
Daniel Rosenwasser
09a87b9e91
'amd' missing from error message for error TS1323 (#33803)
'amd' missing from error message for error TS1323
2019-10-07 10:12:31 -04:00
Anders Hejlsberg
92212ae19e More succinct 2019-10-06 10:06:40 -07:00
Anders Hejlsberg
720964f729 Fix bounds check 2019-10-05 19:14:48 -07:00
Anders Hejlsberg
064b296559 Accept new baselines 2019-10-05 18:59:00 -07:00
Anders Hejlsberg
e0bd810176 Update tests 2019-10-05 18:58:51 -07:00
Anders Hejlsberg
eeaa752833 Add tests 2019-10-05 18:33:00 -07:00
Anders Hejlsberg
d415b57d01 Merge branch 'master' into falseAssertions 2019-10-05 18:04:30 -07:00
Anders Hejlsberg
afe6f4c95c
Merge pull request #33821 from microsoft/fix33806
Reflect control flow effects of optional chains in equality checks
2019-10-05 17:48:53 -07:00
Orta
d552675494
Merge pull request #33825 from mrnugget/patch-1
Change link to tutorial in README
2019-10-05 16:20:06 -04:00
Anders Hejlsberg
99cec3a0d6 Accept new baselines 2019-10-05 13:08:39 -07:00
Anders Hejlsberg
f88518187b Add tests 2019-10-05 13:08:31 -07:00
Anders Hejlsberg
f7b22a0216 Support typeof and instanceof 2019-10-05 13:08:24 -07:00
Thorsten Ball
88b833e37b
Change link to tutorial in README
The tutorial that was previously linked to doesn't show up in the sidebar of typescriptlang.org/docs/ anymore.

The "TypeScript in 5 minutes" tutorial is essentially the same tutorial, but does show up in the sidebar and the docs overview.

By linking to this, the user that clicks through knows where they end up on the docs page, instead of being lost on the "Quick Tutorial" that they can't find again, except through this README.
2019-10-05 06:53:09 +02:00
Anders Hejlsberg
464d1a74c7 Accept new baselines 2019-10-04 16:12:53 -07:00
Anders Hejlsberg
42500d0606 Add tests 2019-10-04 16:12:44 -07:00
TypeScript Bot
27d9dbe64c Update user baselines (#33817) 2019-10-04 16:06:17 -07:00