Commit Graph
28985 Commits
Author SHA1 Message Date
Orta d552675494 Merge pull request #33825 from mrnugget/patch-1
Change link to tutorial in README
2019-10-05 16:20:06 -04: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
TypeScript Bot 27d9dbe64c Update user baselines (#33817) 2019-10-04 16:06:17 -07:00
csigs 7aea377a8d LEGO: Merge pull request 33820
LEGO: Merge pull request 33820
2019-10-04 15:11:06 -07:00
csigs c7fc36f411 LEGO: check in for master to temporary branch. 2019-10-04 22:10:38 +00:00
Ron Buckton a47ac63738 Fix for incorrect 'this' type for optional call (#33799) 2019-10-04 13:39:42 -07:00
TypeScript Bot e9b464ec39 Update user baselines (#33816) 2019-10-04 12:39:12 -07:00
TypeScript Bot cc284642df Update user baselines (#33801) 2019-10-04 11:23:26 -07:00
Andrew Branch e2b4c12596 Detect unbindable exports before setting CommonJS module indicator (#33784)
* Detect unbindable exports before setting CommonJS module indicator

* Fix comment

* Fix unrelated lint?
2019-10-04 11:52:38 -05:00
Ben Lichtman 8fb50ba277 Merge pull request #33804 from a-tarasyuk/feature/update-eslint
update eslint, fix eslint @typescript-eslint/no-unnecessary-type-assertion errors
2019-10-04 09:50:17 -07:00
Alexander T a3da2e77f9 update eslint. fix eslint @typescript-eslint/no-unnecessary-type-assertion errors 2019-10-04 11:00:24 +03:00
TypeScript Bot 3c794e9f9b Update user baselines (#33775) 2019-10-03 15:11:50 -07:00
csigs c164d3d4ba LEGO: Merge pull request 33793
LEGO: Merge pull request 33793
2019-10-03 15:10:51 -07:00
csigs 161e64fe25 LEGO: check in for master to temporary branch. 2019-10-03 22:10:21 +00:00
Andrew Branch acf7aeee80 Add template .vscode/* settings, ignore real ones (#33758)
* Add LKG as typescript.tsdk

* Add template settings, ignore real ones

* Add note to CONTRIBUTING.md
2019-10-03 12:27:06 -05:00
csigs 903a6c9918 LEGO: Merge pull request 33789
LEGO: Merge pull request 33789
2019-10-03 09:10:49 -07:00
csigs 9d04313e11 LEGO: check in for master to temporary branch. 2019-10-03 16:10:22 +00:00
csigs 54aab85460 LEGO: Merge pull request 33782
LEGO: Merge pull request 33782
2019-10-03 03:10:49 -07:00
csigs 8cfb38e2ed LEGO: check in for master to temporary branch. 2019-10-03 10:10:20 +00:00
csigs 98458f29c3 LEGO: Merge pull request 33776
LEGO: Merge pull request 33776
2019-10-02 21:10:51 -07:00
csigs 32d08c9cf4 LEGO: check in for master to temporary branch. 2019-10-03 04:10:22 +00:00
TypeScript Bot dd62000536 Update user baselines (#33773) 2019-10-02 17:15:30 -07:00
TypeScript Bot f23add7704 Update user baselines (#33772) 2019-10-02 17:07:04 -07:00
Ron Buckton c774762723 Fix crash in transformations (#33768) 2019-10-02 16:13:32 -07:00
Wesley Wigham 58854a6182 Revert old lkg and re lkg (#33769)
* Revert "Update LKG (#33710)"

This reverts commit 29becf0501.

* Re-accept LKG with API with breaking typeArguments change removed
2019-10-02 16:01:59 -07:00
Wesley Wigham a8bea77d1e Backfill TypeReference.typeArguments in the API (#33714) 2019-10-02 14:50:12 -07:00
TypeScript Bot 08aaf6aae8 Update user baselines (#33740) 2019-10-02 13:39:22 -07:00
csigs eb037f5641 LEGO: Merge pull request 33759
LEGO: Merge pull request 33759
2019-10-02 09:10:48 -07:00
csigs 8c96949819 LEGO: check in for master to temporary branch. 2019-10-02 16:10:21 +00:00
csigs 6b881ee923 LEGO: Merge pull request 33745
LEGO: Merge pull request 33745
2019-10-02 03:10:51 -07:00
csigs e196b6698e LEGO: check in for master to temporary branch. 2019-10-02 10:10:20 +00:00
Daniel Rosenwasser a3a55cab2c Improve error message when reserved word is used as identifier (#33702)
Improve error message when reserved word is used as identifier
2019-10-01 16:20:28 -04:00
Ron Buckton 29becf0501 Update LKG (#33710) 2019-10-01 13:17:17 -07:00
Wesley Wigham 410ff90c54 Fix the third crash in the chrome user suite test by remembering to pass excludeThisKeyword (#33711) 2019-10-01 13:14:23 -07:00
Daniel Rosenwasser 20f42f45ff Merge pull request #33709 from microsoft/moveMessageNumbers
Move error codes to appropriate section
2019-10-01 15:37:23 -04:00
Ron Buckton 526ed5284e Ensure prepend texts are set when skipping internals (#33694) 2019-10-01 12:33:17 -07:00
Daniel Rosenwasser e4d77f8857 Update baselines. 2019-10-01 12:30:37 -07:00
Daniel Rosenwasser 933065b69c Change error codes. 2019-10-01 12:18:01 -07:00
Daniel Rosenwasser a04f1eb7f0 Better error message for mistaken import (#33706)
Better error message for mistaken import
2019-10-01 15:12:29 -04:00
Ryan Cavanaugh 6b63c1bc5c Rename this function so it stops shadowing a local we use elsewhere (#33692) 2019-10-01 10:37:53 -07:00
Mukesh Prasad 03a3589225 Better error message for mistaken import (#40)
Issue number of the reported bug or feature request: microsoft#13601
2019-10-01 17:27:38 +01:00
csigs 8292af182c LEGO: Merge pull request 33705
LEGO: Merge pull request 33705
2019-10-01 09:10:57 -07:00
csigs 453007d71e LEGO: check in for master to temporary branch. 2019-10-01 16:10:23 +00:00
Sheetal Nandi 2d96a163d1 Merge pull request #33681 from microsoft/autoTypeReference
Fix issue when types installed after watch/editor is opened for auto type reference that is for global types not being detected
2019-10-01 08:28:08 -07:00
Sergey Tychinin ab879939df Improve error message when reserved word is used as identifier
Signed-off-by: Sergey Tychinin <stychinin@bloomberg.net>
2019-10-01 10:48:17 -04:00
Andrew Branch 7be7cba050 Fixes binding well known symbol assignment via element access (#33687)
* Fix binding well-known symbols by element access

* Add navigationBar test

* Revert settings.json change

* Accept baselines

* Actually make it bind

* Accept API baselines

* Dont use internal name in API
2019-09-30 16:14:07 -07:00
Wenlu Wang 7c50bccec2 nullish coalescing commit (#32883)
* migrate nullish coalescing commit

* add more test case

* add branch type check test

* add more tests

* fix nullish precedence

* update public api

* add rescan question question token to fix regression

* update public api baseline

* Added tests that emit for nullish coalescing operator conforming with grammar restrictions when assertions are used.

* Fixed emit to hoist temporary variables (they previously went undeclared).
Added tests to ensure calls and property accesses are only called once.

* use not equal to null

* rename factory

* add grammar check

* fix more cases

* Fix handling of nullish coalescing oprator in expando objects.

* Fixed classifier to support ?? operator.

* update baseline

* accept baseline

* fix review

* update emitter and more testcase

* update control flow

* make linter happy

* update libs

* avoid unnecessary assert

* fix typooo

* Fixes for control-flow analysis
2019-09-30 15:33:50 -07:00
Michael Tamm 6bd3b21f6c fix (lib): Loosen predicate return types of typed arrays, adapt docs (#31343)
fixes #31472
2019-09-30 15:26:39 -07:00
Wesley Wigham 9a7fdade07 Fix crash in contextual typing of defaulted element access declarations (#33686) 2019-09-30 14:42:55 -07:00
Wesley Wigham 98cf317005 Add error message for set accessor vsibility issues (#33683) 2019-09-30 13:12:40 -07:00