Commit Graph

28374 Commits

Author SHA1 Message Date
Andrew Casey eb6a1e030a Merge pull request #39984 from amcasey/pinned-release-3.6
Make release-3.6 buildable
2020-08-10 17:56:40 -07:00
Andrew Casey 2d29236d01 Use npm ci on travis 2020-08-10 17:30:25 -07:00
Andrew Casey 5d75e62382 Make release-3.6 buildable
With this change, you can build the branch using `npm ci && npm run
build`.
2020-08-10 17:02:48 -07:00
Daniel Rosenwasser cda54b83dc Update LKG. v3.6.5 2020-01-23 10:12:55 -08:00
Daniel Rosenwasser 2fce0f409a Update version. 2020-01-23 10:11:05 -08:00
Daniel Rosenwasser e0a286a01d [Cherry-pick] Allow ambient accessors to omit their types unde… (#36280)
* Fix noImplicitAny check on ambient private getters (#33896)

* Fix scripts.

Co-authored-by: Klaus Meinhardt <klaus.meinhardt1@gmail.com>
2020-01-23 10:07:43 -08:00
TypeScript Bot 0dbaef52a9 Update user baselines (#33910) 2019-10-09 23:24:27 -07:00
Daniel Rosenwasser d034031398 Update LKG. v3.6.4 2019-10-09 12:51:45 -07:00
Daniel Rosenwasser 73fbf9b18b Bump version. 2019-10-09 12:45:40 -07:00
Daniel Rosenwasser 323c2560ad Merge pull request #33512 from typescript-bot/pick/33426/release-3.6
🤖 Cherry-pick PR #33426 into release-3.6
2019-10-04 16:15:48 -04:00
Daniel Rosenwasser 475cfff14d Add tslint ignores. 2019-10-04 13:09:50 -07:00
Daniel Rosenwasser 50223fdc20 Port #32947 to release-3.6 (#32978)
Port #32947 to `release-3.6`
2019-09-24 10:46:10 -07:00
Wesley Wigham 391a73b598 Cherry-pick PR #33426 into release-3.6
Component commits:
4ae62c3884 getConstraintDeclaration gets the first declaration with a constraint, rather than just the first declaration

b1ad54b382 Add type annotation

2232f5ebaa Update comment
2019-09-19 17:51:17 +00:00
Daniel Rosenwasser 46ccaa29d6 Handle parentless nodes in isParameterPropertyDeclaration (#33321)
Handle parentless nodes in isParameterPropertyDeclaration
2019-09-17 13:15:50 -07:00
Martin Probst e8be5e85bc Handle parentless nodes in isParameterPropertyDeclaration
Fixes #33295.

This follows a similar pattern as in #20314 by requiring an explicit
`parent` parameter. Where possible, it uses the appopriate variable at
the call sites.

In several locations there is no context available though (e.g.
inspecting `valueDeclarations`) and we access `.parent` as the code
previously did. From a cursory inspection this seems correct, these
callpaths originate in phases where there must be a `parent` (i.e. in
checker, binder, etc).

Change-Id: I28e4726777b57237bec776e4001e9e69ac591b11
2019-09-17 17:11:16 +02:00
Daniel Rosenwasser 26655db1dd Update LKG. v3.6.3 2019-09-06 13:19:38 -07:00
Daniel Rosenwasser 613555615d Bump version to 3.6.3. 2019-09-06 13:19:30 -07:00
TypeScript Bot 1b2ffa9212 Cherry-pick PR #33150 into release-3.6 (#33285)
Component commits:
b86c86de57 Add heuristic for extracting irreducible `null` and `undefined` types from intersections of unions
2019-09-06 13:11:29 -07:00
Anders Hejlsberg acbcc0df82 Merge pull request #33252 from microsoft/fix33131
Make lower priority inference when source is completely matched in target
2019-09-06 09:39:53 -07:00
TypeScript Bot 6b72d5d4ca Cherry-pick PR #33144 into release-3.6 (#33249)
Component commits:
028fa8e723 mark deep indexed accesses as deeply nested in comparisons

67fbdfaeb7 Add test derived from lodash example
2019-09-04 17:01:28 -07:00
TypeScript Bot 5f263db5b5 Cherry-pick PR #33223 into release-3.6 (#33250)
Component commits:
a2b3af2b24 Elevate mapped types over type parameters in the same way as naked type parameters in intersection inference prioritization
2019-09-04 16:23:46 -07:00
TypeScript Bot 9b8be7c09e Cherry-pick PR #33141 into release-3.6 (#33247)
Component commits:
206de25263 Ensure that TS can run in a browser by checking for a process obj before using it in the perf logger

45227ee337 Merge branch 'master' into allow_running_in_web
2019-09-04 14:35:30 -07:00
TypeScript Bot 1ec17a8a1d Cherry-pick PR #33213 into release-3.6 (#33245)
Component commits:
cc1dc3b83b someTypeRelatedToType now passes isIntersectionConstituent

cf3eadc85e Merge branch 'master' into fix-missed-intersection-constituent-threading

f10fe3891f Fix [][] lint
2019-09-04 14:03:16 -07:00
TypeScript Bot 49b910e4d4 Cherry-pick PR #33240 into release-3.6 (#33244)
Component commits:
339e1320c4 Bind typedef/enum on all assignment decl kinds
This fixes a crash on exports, but the code now handles all kinds
returned from getAssignmentDeclarationPropertyAccessKind.
2019-09-04 13:35:59 -07:00
TypeScript Bot 9cbb7ea29c Cherry-pick PR #33225 into release-3.6 (#33226)
Component commits:
541e96ec9f Handle browserify-ignored module result for etw logger
2019-09-04 11:44:31 -07:00
TypeScript Bot cd32df66ec Cherry-pick PR #33219 into release-3.6 (#33222)
Component commits:
ffc82db6fc Fix visitLexicalEnvironment to properly merge hoisted declarations
2019-09-03 15:28:35 -07:00
Sheetal Nandi a109d14644 Merge pull request #33221 from typescript-bot/pick/33216/release-3.6
🤖 Cherry-pick PR #33216 into release-3.6
2019-09-03 15:09:56 -07:00
Sheetal Nandi d8b775e03b Cherry-pick PR #33216 into release-3.6
Component commits:
5de0303728 Fix transpiling when options specify incremental or tsbuildinfofile Fixes #33184

0589d2dd1e Value for transpile option in CommandLineOption
2019-09-03 21:46:29 +00:00
Sheetal Nandi 4aad78bb6e Cherry picking #33145 (#33170)
implement create Hash to be default hashing plus data so we can verify it easily in baseline
2019-08-30 18:01:59 -07:00
TypeScript Bot 775a4dd085 Cherry-pick PR #33168 into release-3.6 (#33169)
Component commits:
078ef7ff02 Fix the semantic diagnostics caching in builder to handle conversion from relative to buildInfo to absolute path Fixes #33161
2019-08-30 16:11:30 -07:00
Ben Lichtman 8118bec3d4 Update LKG v3.6.2 2019-08-27 09:35:35 -07:00
Ben Lichtman f28bdb41e2 Bump version to 3.6.2 2019-08-27 09:25:18 -07:00
Andrew Casey 650c98daff Merge pull request #33065 from amcasey/TripleSlashRestrictions36
Merge pull request #33056 from amcasey/TripleSlashRestrictions
2019-08-26 15:01:32 -07:00
Andrew Casey 66225f2e10 Merge pull request #33056 from amcasey/TripleSlashRestrictions
Make triple-slash comment classification more restrictive

(cherry picked from commit 5b59cfb1c4)
2019-08-23 16:26:54 -07:00
TypeScript Bot 1b63714779 Cherry-pick PR #32982 into release-3.6 (#32985)
Component commits:
c4c6df968e Fix default behavior for transpileModule when fileName not provided
2019-08-19 18:14:31 -07:00
Wesley Wigham d31bd35e12 Port #32947 to release-3.6 2019-08-19 12:34:39 -07:00
TypeScript Bot 03055d2fb6 Cherry-pick PR #32919 into release-3.6 (#32933)
Component commits:
a81ce061de Stricter criteria for eliminating types in unions during inference

f929a25407 Add regression test

6d46850172 Accept new baselines

86d9153374 Accept new API baselines

abc61a0949 Add InferencePriority.Circularity per CR feedback

ac2f151412 Accept new API baselines

c816cf2562 Add additional test

af7ccf954a Accept new baselines
2019-08-16 11:02:00 -07:00
Daniel Rosenwasser 3271a1c3cb Update LKG. v3.6-rc 2019-08-16 07:55:38 -07:00
TypeScript Bot 5a0a671584 Cherry-pick PR #32898 into release-3.6 (#32900)
Component commits:
7f6543c1cd Fix export=global auto import exclusion
2019-08-14 15:39:15 -07:00
Daniel Rosenwasser 0652f34cc0 Update LKG. 2019-08-13 16:44:11 -07:00
Daniel Rosenwasser dd1f20e9a2 🤖 Cherry-pick PR #32878 into release-3.6 (#32881)
🤖 Cherry-pick PR #32878 into release-3.6
2019-08-13 16:42:51 -07:00
Wesley Wigham ef222a5892 Cherry-pick PR #32878 into release-3.6
Component commits:
c78c88f447 Fix references to path-mapped ambient modules in declaration files

48a1fc33f5 Fix lint
2019-08-13 23:41:56 +00:00
Daniel Rosenwasser 635a158d4f Update LKG. 2019-08-13 16:02:48 -07:00
Daniel Rosenwasser 4da8da0c68 Merge remote-tracking branch 'origin/master' into release-3.6 2019-08-13 15:56:14 -07:00
Ron Buckton a74f109f95 Do not escape actual template literals on emit (#32844) 2019-08-13 15:54:35 -07:00
Sheetal Nandi 370a596705 Merge pull request #32847 from microsoft/jsEditPerf
Check cancellation token in function/arrow/class expresisons, Cleanup after open file only if new file is opened in the request
2019-08-13 12:51:46 -07:00
Sheetal Nandi c52b129a19 Add cancellation token check for function expression, arrow expression and class expression just like their counter part declarations
This helps in early exit if request is cancelled and intellisense in js files is super quick with edits
2019-08-13 11:41:08 -07:00
Sheetal Nandi a35f7996a6 Do cleanup after opening files only if opening a file. 2019-08-13 11:41:08 -07:00
Daniel Rosenwasser c8d937ecd3 Merge pull request #32726 from fuafa/completion-after-private
Fix completion disappear after a property declaration with a private modifier
2019-08-13 11:09:32 -07:00
Daniel Rosenwasser ed9c2e0328 Update LKG. 2019-08-13 10:49:10 -07:00