17563 Commits

Author SHA1 Message Date
Andrew Casey
a952c19368 Merge pull request #16227 from amcasey/release-2.3
Port checkJs fix from master
2017-06-02 14:13:26 -07:00
Ron Buckton
bd23d5f73e Update build scripts for npm5 2017-06-02 14:10:33 -07:00
Andrew Casey
b5541c9c5d Update LKG 2017-06-02 13:48:02 -07:00
Andrew Casey
2ef2093155 Bump version number from 2.3.4 to 2.3.5 2017-06-02 13:41:57 -07:00
Andrew Casey
8924d42211 Add some new bind errors to a couple of the JS baselines 2017-06-02 13:30:32 -07:00
Andrew Casey
76c7336bea Add @checkJs: true to JS bind error tests 2017-06-02 13:30:32 -07:00
Andrew Casey
216abea3b8 Use emptyArray, rather than [] 2017-06-02 13:30:32 -07:00
Andrew Casey
1576f96a47 Add regression tests
Report unreachable code in JS files when --checkjs is passed, but not
otherwise.
2017-06-02 13:30:32 -07:00
Andrew Casey
aa888d6e07 Apply --checkJs to bind diagnostics as well as check diagnostics 2017-06-02 13:30:32 -07:00
Mohamed Hegazy
1a579d929f Update LKG v2.3.4 2017-05-30 13:58:57 -07:00
Bill Ticehurst
e023dc3eb8 Merge pull request #16113 from Microsoft/fixNpmLocationWithSpaces
Wrap npmLocation if needed
2017-05-30 10:35:31 -07:00
Bill Ticehurst
d7555eda3b Fix equals 2017-05-26 14:02:18 -07:00
Bill Ticehurst
47a0a7c127 Wrap npmLocation if needed 2017-05-26 13:56:57 -07:00
Andy
47bd5af4d0 Allow configurable npmLocation for typingsInstaller (#16084) (#16102)
* Allow configurable npmLocation for typingsInstaller

* Undo "export class" changes

* Add log for npmLocation

* Log whether '--npmLocation' was provided
2017-05-26 09:51:45 -07:00
Mohamed Hegazy
d3333785db Merge branch 'release-2.3' of https://github.com/Microsoft/TypeScript into release-2.3 2017-05-25 16:12:18 -07:00
Andy
f80ca90e5c Add project telemetry (#16085)
* Add project telemetry

* Use old style of `this.event()`

* Set typescript devDependency to 2.3
2017-05-25 14:54:40 -07:00
Mohamed Hegazy
fc4d109a36 Fix build breaks with the instrumenter 2017-05-25 13:23:00 -07:00
jramsay
196aba6dd5 Merge pull request #16051 from Microsoft/PortRulesProviderFixToRelease-2.3
Port rules provider fix to release-2.3
2017-05-23 17:05:43 -07:00
Jason Ramsay
9919b58abd Updating compiler release version to 2.3.4 2017-05-23 16:09:16 -07:00
Jason Ramsay
3b9ef4ec44 Changes from CR feedback 2017-05-23 16:03:26 -07:00
Jason Ramsay
dcab32875d RulesProvider performance improvements 2017-05-23 16:03:04 -07:00
Mohamed Hegazy
e2cc27bec2 Update LKG v2.3.3 2017-05-22 13:30:16 -07:00
Nathan Shively-Sanders
6b64feebdf Add name property to Declaration temporarily
The property will go away in TypeScript 2.4 and only remain on
NamedDeclaration.
2017-05-19 13:14:31 -07:00
Ryan Cavanaugh
367e072f54 Merge pull request #15941 from RyanCavanaugh/release-2.3
Port plugin load
2017-05-18 14:39:38 -07:00
Ryan Cavanaugh
e01ea0ef64 Merge branch 'release-2.3' of https://github.com/Microsoft/TypeScript into release-2.3 2017-05-18 14:21:23 -07:00
Ryan Cavanaugh
930e4c58a5 Add flag to allow local plugin loading 2017-05-18 14:21:16 -07:00
Mohamed Hegazy
4dc00a2edc Update LKG 2017-05-15 16:22:48 -07:00
Mohamed Hegazy
1788478486 Merge branch 'release-2.3' of https://github.com/Microsoft/TypeScript into release-2.3 2017-05-15 16:21:07 -07:00
Ron Buckton
507dc76615 Fix issue with throw in async delegator. 2017-05-15 16:17:50 -07:00
Mohamed Hegazy
2dd4c8af07 Update LKG 2017-05-15 16:17:10 -07:00
Mohamed Hegazy
9d2656fe54 Fix #15463: use intersection types to emulate spread in generic react components (#15851)
* Fix #15463: use intersection types to emulate spread in generic react components

* Fix lint errors

* reverse condition
2017-05-15 15:51:36 -07:00
Ron Buckton
a0db9adf92 Fix issue with throw in async delegator. 2017-05-15 15:39:10 -07:00
Mohamed Hegazy
8534a5abfc Update LKG 2017-05-12 12:56:50 -07:00
Yui T
6976dda2a3 Address PR 2017-05-12 12:27:42 -07:00
Yui T
dbae5d210e Add more tests and update baselines 2017-05-12 12:27:38 -07:00
Yui T
5eb9fd04c1 getApparentType of the propsType 2017-05-12 12:27:28 -07:00
Kanchalai Tanglertsampan
07b48575c4 Update baselines 2017-05-12 12:27:20 -07:00
Kanchalai Tanglertsampan
62c0e69000 Add tests and update lib tests file 2017-05-12 12:27:14 -07:00
Kanchalai Tanglertsampan
331285be6b getApparentType for each constituent of props type of the targetAttributesType 2017-05-12 12:26:50 -07:00
Nathan Shively-Sanders
35001e9416 Merge branch 'release-2.3' of https://github.com/Microsoft/TypeScript into release-2.3 2017-05-11 12:41:42 -07:00
Nathan Shively-Sanders
3831804cdf Test:reference ambient block scoped vars in different file 2017-05-11 12:37:49 -07:00
Nathan Shively-Sanders
7dd3cde196 Allow references to ambient block scoped variables
Even when
1. --out or --outfile is specified
2. The block scoped variable's file is after the referrer's file.
2017-05-11 12:37:41 -07:00
jramsay
0f7cc75d9b Merge pull request #15752 from Microsoft/PortCompileOnSaveFixToRelease-2.3
Port Compile On Save Fix to Release-2.3
2017-05-10 16:34:57 -07:00
Jason Ramsay
fd43e15058 In shims.ts resolveModuleName should only return resolved modules found in ts files (.ts, .d.ts, .tsx) 2017-05-10 16:12:05 -07:00
Nathan Shively-Sanders
52df34bfab Fix lint 2017-05-10 12:45:56 -07:00
Nathan Shively-Sanders
7b660c8f36 Test: no declare in declaration tmp in namespace 2017-05-10 12:45:48 -07:00
Nathan Shively-Sanders
03bca49794 Correctly emit expression in extends in namespace
Shouldn't have a declare for the emitted temp
2017-05-10 12:45:41 -07:00
Nathan Shively-Sanders
5cd9f4e2dd Unnamed nodes now extend Declaration, not NamedDeclaration 2017-05-10 09:20:17 -07:00
Nathan Shively-Sanders
39f6454f76 Switch to Declaration/NamedDeclaration hierarchy 2017-05-10 09:19:55 -07:00
Nathan Shively-Sanders
42e7852034 Revert "Convert Declaration to union, not type hierarchy"
This reverts commit 573040f0cfa713929bfa1fe84f4fd2a81cc82658.
2017-05-10 09:19:47 -07:00