sort by:
Revision Author Date Message Commit Date
9ba45fc Update LKG. 16 January 2020, 00:11:45 UTC
609a605 Suppress lint issues. 15 January 2020, 22:43:50 UTC
cd8c86d Revert "Remove "unnecessary" type assertions." This reverts commit 5dccbb7026e63813ab8a0a7455ffddc18ac95ca8. 15 January 2020, 22:33:09 UTC
5dccbb7 Remove "unnecessary" type assertions. 15 January 2020, 22:18:57 UTC
9d42982 Update LKG. 15 January 2020, 21:04:39 UTC
c81b9a7 Bump version to '3.7.5'. 15 January 2020, 21:02:04 UTC
17f4450 Disable declaration emit for json files (#36078) 08 January 2020, 17:51:37 UTC
d389063 Cherry-pick PR #35733 into release-3.7 (#35963) Component commits: ad3af6cbf6 Fix completions when the ts installation and project are on two different windows drive Fixes #35512 165758f6e8 Fix typo Co-authored-by: Sheetal Nandi <shkamat@microsoft.com> 07 January 2020, 23:39:57 UTC
98cfe76 Update LKG. 18 December 2019, 21:01:03 UTC
cfa5687 Bump version to 3.7.4. 18 December 2019, 20:57:47 UTC
eb5170c Cherry-pick PR #35639 into release-3.7 (#35640) Component commits: 7c31be3b17 Fix binding of this-assignments w/computed properties Top-level this-assignments do not support computed properties. But the binder forgets to check for computed properties and tries to bind them normally. This hits a helpful assert. This change stop binding this-properties with computed properties at the top-level. There's nothing sensible we could do with them; we're unable to late-bind entries to the global scope or to modules. 12 December 2019, 17:39:47 UTC
79facc0 Update LKG. 04 December 2019, 07:33:19 UTC
e65ce53 Fix `getTypeFromJSDocValueReference` When using `{import('./b').FOO}` which is defined as a string literal, `valueType` doesn't have a `symbol`. Leave it for the fallback value for now. This was exposed in 8223c0752. Fixes #34869. 28 November 2019, 00:54:43 UTC
41d1ce6 Cherry-pick PR #35335 into release-3.7 (#35367) Component commits: c44de23315 Fix compileOnSaveEmit when using source of project reference redirect with --out Fixes #35226 522efb4798 Fix typo 27 November 2019, 21:47:36 UTC
c4d6cec Cherry-pick PR #35366 into release-3.7 (#35368) Component commits: eeacbbf30d Handle when output file would be in subFolder specified by outDir/declarationDir Fixes #35328 27 November 2019, 17:37:13 UTC
38a496a Update user baselines (#35337) 25 November 2019, 23:58:53 UTC
9bf4e3a Update user baselines (#35302) 25 November 2019, 21:56:19 UTC
a8b63ef Update LKG. 23 November 2019, 00:32:32 UTC
c021b28 Cherry-pick PR #34987 into release-3.7 (#35303) Component commits: 5810765259 Emit defineProperty calls before param prop assignments Note that I restricted this to --useDefineForClassFields is true. Nothing changes when it's off. I think this is the correct fix for a patch release. However, in principal there's nothing wrong with moving parameter property initialisation after property declaration initialisation. It would be Extremely Bad and Wrong to rely on this working: ```ts class C { p = this.q // what is q? constructor(public q: number) { } } ``` But today it does, and probably somebody relies on it without knowing. ec7959091a Put parameter property initialiser into defineProperty's value be863550b7 Merge branch 'master' into fix-defineProperty-parameter-property-emit 8ff59b98b8 Combine ES5/ESNext into one test 23 November 2019, 00:26:51 UTC
d5bcb6f Cherry-pick PR #35058 into release-3.7 (#35241) Component commits: 8ae5a8cfce useDefineForClassFields skips emit of ambient properties Previously: ```ts class C { declare p } ``` would incorrectly emit ```js class C { constructor() { Object.defineProperty(this, "p", { enumerable: true, configurable: true, writable: true, value: void 0 }); } } ``` when useDefineForClassFields was turned on (for targets <ESNext). 0ec9c04896 Fix bug for ESNext as well This moves the check earlier in the pipeline. e1aa034a7a update baselines 22 November 2019, 22:52:31 UTC
b9d5231 Cherry-pick PR #35198 into release-3.7 (#35240) Component commits: 9c0fab93b2 Fix crash with Object.defineProperty for imported alias (--allowJs) Fixes #35196 20 November 2019, 21:20:25 UTC
c18d72f Cherry-pick PR #35209 into release-3.7 (#35213) Component commits: 74a6343925 Fix the usage of pattern matching for check of hasZeroOrOneAsteriskCharacter Fixes #35171 ffe82c637f Fix error message 20 November 2019, 18:56:03 UTC
b37cc6e Cherry-pick PR #35111 into release-3.7 (#35116) Component commits: 6945a72130 Support dynamic file names with project root path Fixes #35094 cc30b36c59 Remove unexpected change 14 November 2019, 23:37:37 UTC
adaacd1 Fix build script. 14 November 2019, 22:17:13 UTC
f7629ec Update version number. 14 November 2019, 22:11:31 UTC
2e38783 Cherry-pick PR #34588 into release-3.7 (#34988) Component commits: 99328e9072 Propagate 'undefined' instead of the optional type marker at an optional chain boundary 7aa6eee514 Merge branch 'master' into fix34579 # Conflicts: # src/compiler/utilities.ts 61e6765808 Update src/compiler/types.ts Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 14 November 2019, 17:54:30 UTC
12e8b08 strip QuestionToken from MethodDeclaration and PropertyDeclaration emit (#34954) * strip QuestionToken from MethodDeclartion emit Fixes: #34953 * test property emit 12 November 2019, 21:00:37 UTC
dfe2f07 Fix import type resolution in jsdoc, mark 2 (#35057) Fake alias resolution only applies when the import type is followed by a qualified name. Otherwise the alias is sufficiently resolved already. 12 November 2019, 20:59:51 UTC
93b1aa3 Cherry-pick PR #34513 into release-3.7 (#34800) Component commits: 62aad54b98 Fix a crash when transforming functions in modules. When transforming a module declaration and block, parse tree nodes contained in the module block have their parent pointers reset due to `shouldEmitModuleDeclaration` calling into `isInstantiatedModule`, which needs to set parent pointers to operate. That causes a crash when later transforming any nodes within the module, as retrieving their source file in `getSourceFileOfNode` (via `getOrCreateEmitNode`) fails, due to their new synthesized parent nodes not being in a source file. This change avoids the issue by using the parse tree node in `ts.ts` to decide whether a module declaration should be emitted (i.e. whether the module contains values). This means transformers cannot add values to modules that previously did not contain any. Fixes #34644. 11 November 2019, 16:20:31 UTC
4d5f30d Cherry-pick PR #34906 into release-3.7 (#35006) Component commits: dfa4bc0d75 Use empty object for invalid package json contents instead of undefined Fixes #34726 4d035ba5f8 Behave as if package json doesnt exist in case of invalid json in package json 08 November 2019, 22:07:46 UTC
a22ad16 Update user baselines (#34842) 07 November 2019, 22:13:50 UTC
7cf6c70 Update user baselines (#34837) 30 October 2019, 23:58:46 UTC
2f876d9 Update LKG. 30 October 2019, 22:32:34 UTC
88d867d 🤖 Cherry-pick PR #34721 into release-3.7 (#34811) * Cherry-pick PR #34721 into release-3.7 Component commits: c8bdddf4fd Allow export declaration to reference const enums 857e7c43a2 Update baselines 6e0da2b563 Add test to verify reexported const enums are elided * Update LKG 30 October 2019, 22:28:36 UTC
da0c1f8 Cherry-pick PR #34791 into release-3.7 (#34834) Component commits: 3904be131a Add circularity checking during deferred type argument creation 30 October 2019, 21:01:24 UTC
068ae69 Update user baselines (#34835) 30 October 2019, 20:59:34 UTC
60bf24d Cherry-pick PR #34786 into release-3.7 (#34833) Component commits: f6dbbfd80d Fix alias naming and structure bugs in js declarations 3005f18da5 Merge branch 'master' into fix-js-declaration-bugs 3bd49e49a7 Add another test case and change condition for ns merge to require signature or export content ca5f764c8d Fix typo in comment 30 October 2019, 20:24:42 UTC
28050d5 Cherry-pick PR #34789 into release-3.7 (#34812) Component commits: 2e0b4513ef Add isIntersectionConstituent to relation key isIntersectionConstituent controls whether relation checking performs excess property and common property checks. It is possible to fail a relation check with excess property checks turned on, cache the result, and then skip a relation check with excess property checks that would have succeeded. #33133 provides an example of such a program. Fixes #33133 the right way, so I reverted the fix at #33213 Fixes #34762 (by reverting #33213) Fixes #33944 -- I added the test from #34646 14d7a44c50 Merge branch 'master' into add-isIntersectionConstituent-to-relation-key ea803620ec Update comments in test 0764275c30 Merge branch 'master' into add-isIntersectionConstituent-to-relation-key 29 October 2019, 22:38:04 UTC
7d77ecb JSDoc type reference understands require with entity name (#34804) * resolve require with entity name postfix For example, `require("x").c`. This is the value equivalent of `import("x").a.b.c`, but the syntax tree is not as nicely designed for this purpose. Fixes #34802 * Add bug number to test * Add optional chain test 29 October 2019, 22:17:02 UTC
787ff34 Update LKG. 28 October 2019, 23:48:33 UTC
156ec62 Update version number to '3.7.2'. 28 October 2019, 23:47:57 UTC
87befe8 Cherry-pick PR #34715 into release-3.7 (#34719) Component commits: 4cb867bee8 Fix regression in mixin emit by removing unneeded line of code e3cc5e9acf Double the test, double the fun 28 October 2019, 23:44:44 UTC
1f3016f 🤖 Cherry-pick PR #34743 into release-3.7 (#34781) Component commits: 06fda263f8 Fix incorrect outDir usage instead of out 66f1a79c44 Handle symlinks of packages in mono repo like packages Fixes #34723 28 October 2019, 23:44:03 UTC
17bd75d Cherry-pick PR #34779 into release-3.7 (#34782) Component commits: 2e435ae3b0 Fix incorrectly looking for position in call/new expression arguments when looking for indentation of type arguments Fixes #32487 0bb1b40b1b Update src/services/formatting/smartIndenter.ts Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 28 October 2019, 21:59:27 UTC
0965fc5 Update user baselines (#34769) 28 October 2019, 19:46:40 UTC
9df593b Cherry-pick PR #34745 into release-3.7 (#34766) Component commits: 07a371bbf6 Fix extract type on JS function params 28 October 2019, 18:04:07 UTC
6317c90 Cherry-pick PR #34764 into release-3.7 (#34765) Component commits: ab9bc3a55a Fix type reference to merged prototype property assignment The constructor function code path in the return type checking of signatures needs to pass the *merged* symbol of the declaration to getDeclaredTypeOfClassOrInterface. Other callers of getDeclaredTypeOfClassOrInterface do this, or used an already-merged symbol. Fixes #33993 28 October 2019, 17:58:15 UTC
330c8ac Cherry-pick PR #34702 into release-3.7 (#34710) Component commits: 7be925173c Exclude ?? operator from true/false literal check in createFlowCondition b9802166ae Accept new API baselines 3d4c14c5f8 Add tests 7362545e8c Accept new baselines 2d1af77839 Address CR feedback 8f0de27784 Accept new API baselines 24 October 2019, 23:05:34 UTC
db419ff Update user baselines (#34722) 24 October 2019, 22:10:57 UTC
1ac8f40 🤖 Cherry-pick PR #33847 into release-3.7 (#34720) Component commits: 97dcbd3bb9 Avoid a crash with `@typedef` in a script file. Scripts (as opposed to modules) do not have a symbol object. If a script contains a `@typdef` defined on a namespace called `exports`, TypeScript crashes because it attempts to create an exported symbol on the (non-existent) symbol of the SourceFile. This change avoids the crash by explicitly checking if the source file has a symbol object, i.e. whether it is a module. f9b7d6eaa8 Add usage of exports.SomeName typedef. 92dc69ddf0 Fix bug at bind site rather than in declare func 24 October 2019, 21:30:58 UTC
cd0bfdd Update user baselines (#34711) 24 October 2019, 21:03:36 UTC
04d55bf Handle undefined from getPropertyNameForPropertyNameNode ...which can be returned when the property name is computed. Part of #34404 24 October 2019, 17:29:29 UTC
58bcb1e Update user baselines (#34709) 24 October 2019, 17:12:24 UTC
23d1b7b Cherry-pick PR #34706 into release-3.7 (#34708) Component commits: 056a656937 Restore delayed merge check to getTypeFromJSDocValueReference This is needed when a function merges with a prototype assignment. The resulting *merged* symbol is a constructor function marked with SymbolFlags.Class. However, the merge doesn't happen until getTypeOfFuncClassEnumModule is called, which, in the getTypeReferenceType code path, doesn't happen until getTypeFromJSDocValueReference. That means the check for SymbolFlags.Class is missed. Previously, getTypeFromJSDocValueReference had a weird check `symbol !== getTypeOfSymbol(symbol).symbol`, which, if true, ran getTypeReferenceType again on `getTypeOfSymbol(symbol).symbol`. For JS "aliases", this had the effect of dereferencing the alias, and for function-prototype merges, this had the effect of ... just trying again after the merge had happened. This is a confusing way to run things. getTypeReferenceType should instead detect a function-prototype merge, cause it to happen, and *then* run the rest of its code instead of relying on try-again logic at the very end. However, for the RC, I want to fix this code by restoring the old check, with an additional check to make sure that #33106 doesn't break again: ```ts const valueType = getTypeOfSymbol(symbol) symbol !== valueType.symbol && getMergedSymbol(symbol) === valueType.symbol ``` I'll work on the real fix afterwards and put it into 3.8. d1515f4ee0 Add bug number 24 October 2019, 16:58:21 UTC
4930148 Cherry-pick PR #34683 into release-3.7 (#34705) Component commits: 2aa257df80 getTypeFromJSDocValueReference: handle import types Previously it only handled types whose declaration was from `require`, but now it handles types whose reference is an import type as well. 24 October 2019, 16:25:35 UTC
ce9ce20 Update user baselines (#34682) 23 October 2019, 21:19:33 UTC
49dfb5f Update LKG 23 October 2019, 20:22:52 UTC
7afaef1 Cherry-pick PR #34679 into release-3.7 Component commits: e0b98c6eae Do not consider element accesses which are neither statically bindable nor late bound as special assignments 23 October 2019, 20:22:52 UTC
43fb7b4 Update user baselines (#34660) 22 October 2019, 23:00:13 UTC
f21e931 Cherry-pick PR #34649 into release-3.7 (#34657) Component commits: b6744812a0 Treat any mix of element/prop access as declaration in JS Fixes #34642 but, notably, doesn't actually make the assignment into a working declaration. It just fixes the crash. 22 October 2019, 22:22:40 UTC
ea71ecf Cherry-pick PR #34650 into release-3.7 (#34658) Component commits: 6a6f4a666e Fix crash in assigning function with this ref to alias 22 October 2019, 22:22:31 UTC
2b0d460 Cherry-pick PR #34649 into release-3.7 Component commits: b6744812a0 Treat any mix of element/prop access as declaration in JS Fixes #34642 but, notably, doesn't actually make the assignment into a working declaration. It just fixes the crash. 22 October 2019, 21:47:42 UTC
4b09fd7 Update LKG. 21 October 2019, 21:50:14 UTC
0d53d2f Update version. 21 October 2019, 21:49:04 UTC
eea1268 Merge remote-tracking branch 'origin/master' into release-3.7 21 October 2019, 21:48:19 UTC
f84fd30 Merge pull request #34607 from microsoft/fix33490 Fix type inference regression 21 October 2019, 19:50:38 UTC
ff6626f Merge pull request #34597 from microsoft/optionalChainControlFlow More optional chaining control flow analysis 21 October 2019, 19:36:07 UTC
28028eb Extend the correct tsconfig.json. (#34615) Extend the correct tsconfig.json. 21 October 2019, 18:50:14 UTC
b167012 Extend the correct tsconfig.json. 21 October 2019, 17:46:41 UTC
1d3ecc0 Ensure export= symbol from JavaScript always has a valueDeclaration (#34553) 21 October 2019, 16:56:02 UTC
82019d6 Accept new baselines 21 October 2019, 01:01:41 UTC
56520da Add regression tests 21 October 2019, 01:00:08 UTC
8f15a2e Fix type inference regression 21 October 2019, 00:59:21 UTC
ee846d9 Accept new baselines 19 October 2019, 17:52:04 UTC
d218a31 Add tests 19 October 2019, 17:51:59 UTC
60b3915 And a few more 19 October 2019, 14:04:24 UTC
e8782ae Merge pull request #34574 from orta/add_docs_tsserver_debug Improve the launch template 19 October 2019, 13:06:18 UTC
0a0833b Improve the launch template 19 October 2019, 12:44:28 UTC
b845800 Add option to configure automatic optional chain completions (#34552) Add option to configure automatic optional chain completions 19 October 2019, 00:35:59 UTC
f334654 Ensure original files are included in tsconfig.release.json (#34584) Ensure original files are included in tsconfig.release.json 19 October 2019, 00:35:37 UTC
556da72 [WIP] Improve optional chaining checker performance (#33794) * Improve optional chaining checker performance * Improve optional chaining checker performance * Add flags to Signature * Inline getOptionalExpression * split checks for optional chains * Cache optional call signatures 19 October 2019, 00:27:47 UTC
98fe342 Handle more cases 18 October 2019, 23:33:55 UTC
91196fc Ensure functions that have prototype properties assigned by Object.defineProperty get marked as classes (#34577) * Ensure functions that have prototype properties assigned by Object.defineProperty get marked as classes * Revert unneeded change 18 October 2019, 23:31:43 UTC
fbc070f Extend tsconfig.release.json from the sibling tsconfig.json to ensure files aren't forgotten. 18 October 2019, 23:12:31 UTC
218bbcd Don't immediately return in getMemberSymbols. 18 October 2019, 22:23:56 UTC
cdf1ab2 Bind @class in the right place -- bindWorker not bindChildrenWorker (#34575) Also add an assert to make future mismatches fail in an obvious place instead of in a while loop. 18 October 2019, 21:13:14 UTC
fa1884e Fix crash in expando assignment to alias (#34566) * Fix crash in expando assignment to alias This PR disallows expando assignments Fixes #34493, but disallows the prototype assignment nonetheless. * Revert mistaken changes 18 October 2019, 20:31:44 UTC
1d5add5 Emit computed property temps even w/o init w/useDefineForClassFields (#34406) Fixes #33857 18 October 2019, 20:23:38 UTC
9b6a027 Perform checks prior to calling `addTypeProperties`. 18 October 2019, 20:03:25 UTC
241de73 Merge pull request #34496 from microsoft/fix34272 Properly attach alias symbol to `readonly T[]` types 18 October 2019, 19:07:03 UTC
d3df927 Optional chain control flow analysis fixes 18 October 2019, 17:50:03 UTC
1bfc472 Merge pull request #33938 from uniqueiniquity/classifcationAssertion Add assertion when classification has unexpected length 18 October 2019, 16:44:51 UTC
65561a8 fix assertion condition 18 October 2019, 16:18:16 UTC
0fc3888 Remove redundant and misplaced perfLogger startup statement (#34551) 18 October 2019, 16:13:40 UTC
82f927f Fix stack overflow in circular assignment declaration (#34543) * Fix stack overflow in circular assignment declaration It also needs to have multiple assignments so that it has a ValueModule flag. Fixes #33006 * remove errant comment * Remove other possible circularity * Restore fallback with additional condition 18 October 2019, 16:01:21 UTC
9ff9c41 Add completion test for partial generic object (#34559) 18 October 2019, 15:59:49 UTC
dd58bfc Merge pull request #34505 from amcasey/ListFilesOnly Add listFilesOnly command-line option 18 October 2019, 01:28:34 UTC
30cca63 Accepted baselines. 18 October 2019, 00:45:25 UTC
85e0913 Update comment. 18 October 2019, 00:45:13 UTC
3d7451c Accepted baselines. 18 October 2019, 00:41:49 UTC
back to top