sort by:
Revision Author Date Message Commit Date
d763804 Fix typo in getChangesSinceVersion (#36885) 20 February 2020, 16:30:22 UTC
4a34294 Unify padding impls and consistently use them 20 February 2020, 01:21:51 UTC
77d3a69 Fix lint 20 February 2020, 01:03:10 UTC
283bf99 Cast sys.bufferFrom results in cases where global buffer and sys copy of buffer mismatch 20 February 2020, 01:02:30 UTC
5144330 Fix implicit dependencies on es6 lib exposed by node changes 20 February 2020, 00:43:40 UTC
4940ff8 One _big_ script block (since it seems like FS edits are not persistent across steps?) 19 February 2020, 21:49:41 UTC
38e1e66 Fix API baseline paths in script 19 February 2020, 21:33:39 UTC
5db79df Limit dispatch triggers 19 February 2020, 21:15:07 UTC
cffaddc Add new release branch workflow 19 February 2020, 21:10:47 UTC
e3b6bd2 getDate not getDay, also 1-based months please 19 February 2020, 19:39:17 UTC
1236a10 Fix initialization error when destructuring from object literal that includes a spread assignment (#36865) * Add test * Fix superfluous error when destructuring from object that includes spread assignment * Update baseline to include error case * Remove redundant check 19 February 2020, 16:28:12 UTC
50e9c15 Add buildTsc to preTest for user test runner (#35781) 19 February 2020, 15:48:43 UTC
e50f0aa Include stdout in test worker error messages (#35921) 19 February 2020, 14:50:31 UTC
bab0c99 fix(29565): Add missing super() quickFix errors for constructo… (#36601) 18 February 2020, 21:00:31 UTC
bc12123 fix(29908): Declare static method/property quickfix can add st… (#36854) 18 February 2020, 19:27:35 UTC
7cc4a8d Wrap classes with decorators or static properties in an IIFE, even for ES2015+ (#32011) * Always wrap classes with decorators or static properties in an IIFE Currently only script targets less than or equal to ES5 will wrap classes. However, the wrapping is also crucial to file size optimizations for ES2015+ as well. Without the IIFE wrapper, minification tools do not elide the class. This is due to references to the class being present within the downlevelled decorator and static property code. This change represents the full completion of issue #15857 * Accept new baselines 15 February 2020, 00:28:55 UTC
1d6bb8b Update user baselines (#36801) 15 February 2020, 00:01:38 UTC
a2fe661 Import style punditry (#36814) 14 February 2020, 23:57:30 UTC
b82d320 Fix organizeImports with type-only imports (#36807) 14 February 2020, 23:24:39 UTC
9b518c8 Exempt ambient private properties from noImplicitAny (#36640) 14 February 2020, 23:01:18 UTC
c59fcae fix(30003): formatter deletes comments after trailing comma (#36674) 14 February 2020, 22:57:18 UTC
1aaf314 Marked internal createAnonymousType type as allowing undefined Symbols (#36016) 14 February 2020, 22:52:05 UTC
b1e706d Set correct pos for NamespaceExport (#36794) * Set correct pos for NamespaceExport * Update tests 14 February 2020, 20:45:26 UTC
6639d25 Update user baselines (#36796) 14 February 2020, 16:44:36 UTC
950b361 Fix renaming an ExportSpecifier name when propertyName is present (#36790) * Fix renaming exportSpecifier name when propertyName is present * Add baseline test for name without propertyName too 14 February 2020, 00:55:52 UTC
888cd4d Update user baselines (#36765) 13 February 2020, 23:10:01 UTC
210090b No template refactor on plain strings (#36785) * Add/convert to failing tests. * Stop offering to convert single string literals to template expressions. * Ensure we're actually testing for single quotes. 13 February 2020, 20:22:53 UTC
19c3bcb Adds puppeteer to test whether typescript.js runs in the browser (#35471) * Adds puppeteer to test whether typescript.js runs in the browser * Adds a check for the browser integration into the GitHub Actions CI * Update to use playwright, and test in three browsers 13 February 2020, 19:19:33 UTC
0a7d54d Fix npm test if os.cpus().length == 1 (#35753) 13 February 2020, 19:08:39 UTC
98492d8 Add --git-dir and --work-tree to user tests (#35362) 12 February 2020, 23:21:29 UTC
7a1c5b7 Avoid expensive relationship checking in mapped type member resolution (#36754) * Avoid expensive relationship checking in mapped type member resolution * Accept new baselines 12 February 2020, 23:05:01 UTC
e435054 fix(36416): empty import path causes server crash (#36751) 12 February 2020, 22:26:51 UTC
bf37065 Don't npm install the parent project with no args (#35359) 12 February 2020, 22:19:46 UTC
2b64731 Fix getTypeAtLocation for `as const` to not issue a diagnostic (#36741) * Fix getTypeAtLocation for `as const` to not issue a diagnostic * use existing helpers for checks * Fix lint 12 February 2020, 21:43:02 UTC
5410233 Merge branch 'Swatinem-separate-nodetypes' 12 February 2020, 19:53:05 UTC
195f6bb Merge branch 'separate-nodetypes' of https://github.com/Swatinem/TypeScript into Swatinem-separate-nodetypes 12 February 2020, 19:52:53 UTC
01c86c7 Fix get candidate for overload failure checking (#36744) * getCandidateForOverloadFailure:call resolveUntypedCall This re-adds the missed errors and marks as used missed nodes from the user and RWC baselines. * Update baselines and remove new test It was redundant with the old tests * Defer resolveUntypedCall on resolution failure to give priority to parameter types fixed by overload signatures Co-authored-by: Wesley Wigham <wwigham@gmail.com> 12 February 2020, 19:42:56 UTC
cf6b641 Merge branch 'master' into separate-nodetypes 12 February 2020, 19:23:51 UTC
6f079a4 Update versionMajorMinor to match package.json 11 February 2020, 23:34:17 UTC
1fd0e8f Bump package.json version to reflect reality 11 February 2020, 23:08:03 UTC
8481bc1 Do not report errors when we fail to find a module symbol at an import specifier when invoked via API (#36742) 11 February 2020, 22:49:11 UTC
a772c26 Error when property is specified more than once via a spread (#36727) * add tests but not baselines or fixes * Update original change Still probably wrong; probably doesn't even compile beacuse I'm just typing on my laptop. * fix error code ok * notes to self * Error: property is specified more than once via spread * make jsx tests stricter * update semicolon error message * use ?. because it is great * use maybeTypeOfKind in new code * restore jsx error * add tests 11 February 2020, 18:23:15 UTC
348c4dd Throw syntax error for `}` and `>` in JSX text (#36636) * Throw syntax error for `}` and `>` in JSX text Fixes #36341 * Add codefix for error 11 February 2020, 16:44:17 UTC
ad8c209 Use type-only imports in auto-imports when it would be an error not to, and use auto-imports in “implement interface” fix (#36615) * Refactor fix-all-missing-imports to be reusable by other codefixes * Migrate infer-from-usage to use ImportAdder * Add infer from usage test importing more than one thing in a single fix * Migrate implement interface / abstract members fixes to use ImportAdder * Update old tests * Use type-only imports when it would be an error not to * Add another test * Rename stuff 11 February 2020, 01:13:35 UTC
aece8c0 Allow intersections (and substitutions) to be checks against discriminable unions (#36663) 10 February 2020, 23:26:46 UTC
70e6f5b Handle walkThroughSnippet:/ and untitled:/ as dynamic files (#36722) Handle walkThroughSnippet:/ and untitled:/ as dynamic files Fixes #36681 10 February 2020, 21:55:43 UTC
fa3173f Either clone or pull, don't do both (#35230) Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 07 February 2020, 18:17:44 UTC
9096724 Update user baselines (#36669) 07 February 2020, 18:08:08 UTC
71c1da0 redo #28564 (#36665) 07 February 2020, 17:55:29 UTC
1e48cbe Fix jsdoc comment parsing initial state (#36661) * Fix jsdoc comment parsing initial state Jsdoc comment parsing can be invoked in two modes: 1. top-level parsing, for comments not inside a tag. 2. tag parsing, for comment that occur after the semantic parts of a tag. Top-level parsing skips an initial * because it assumes that it is starting at the very beginning of a JSDoc comment. Tag parsing does not. The two modes are distinguished by an optional second parameter named `margin`. When `margin` is provided, it provides an initial indent used for comment alignment. Previously, the check for `margin` was a truthy check `if (margin)`. This check incorrectly treats `margin=""` the same as `margin=undefined`. This PR changes the check to `if (margin !== undefined)`, which correctly treats `margin=""` the same as `margin=" "`. * Fixes for broken tests 1. Use SawAsterisk start state. 2. @template needs to skip asterisk in addition to whitespace while parsing type parameter names. * undo code move 07 February 2020, 16:35:40 UTC
2cc5856 Support property declarations in jsdoc template generation (#36658) * Support property declarations in jsdoc template generation * fix lint and add test 06 February 2020, 22:38:21 UTC
b8b5948 Cache results of isGenericObjectType and isGenericIndexType (#36622) 06 February 2020, 00:04:05 UTC
de37c87 Optimize deferred type references (#36607) * Improve reasoning about when to create deferred type references * Accept new baselines * Fix minor issues * Handle default type arguments case in isDeferredTypeReferenceNode 06 February 2020, 00:03:42 UTC
0a16032 Faster exit from isTypeRelatedTo with identityRelation (#36590) * Faster exit from isTypeRelatedTo with identityRelation * Reorganize a bit 06 February 2020, 00:03:09 UTC
77b81ed Update user baselines (#36641) 05 February 2020, 22:27:37 UTC
7ffaf2a Add vue-next to docker suite (#33865) Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 05 February 2020, 20:48:06 UTC
741f513 Update user baselines (#36617) 05 February 2020, 20:43:09 UTC
8ef498f Also edit the cherry-pick script to handle non-master base branches while we are here 05 February 2020, 19:01:02 UTC
a8f01df Patch cherry pick script for new octokit 05 February 2020, 18:47:25 UTC
70399e1 add support for Lift Template Literal Restriction (#23801) * add support for Lift Template Literal Restriction * rename file and improve comment and tests * fix NoSubstitutionTemplateLiteral support * extract tagged template and add more test * avoid useless parameter * fix incorrect return node if cannot transform * accept baseline * correctly baseline * accept baseline * fix merge break * fix merge break * inline rescan template head or no subsititution template * update scan error * add comment and fix lint * refactor and fix lint * avoid blank * fix merge conflict * fix again * fix again * use multiple target * fix space lint Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 05 February 2020, 16:59:51 UTC
2047118 Fix crash when trying to import a non-exported type (#36619) * Fix crash when trying to import a non-exported type * Add related info on each declaration 05 February 2020, 16:27:49 UTC
0944110 Expose hasOnlyExpressionInitializer as a public type guard (#33229) Exposes `hasOnlyExpressionInitializer` as a public function so users of TypeScript compiler APIs do not have to roll their own `HasExpressionInitializer` type guards. Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 05 February 2020, 00:01:20 UTC
044355b Add rxjs to the docker suite (#33500) 05 February 2020, 00:00:08 UTC
da8d3ef Drop support for defunct Chakra host (#33797) 04 February 2020, 23:53:45 UTC
2e97918 Make Response.performanceData public (#36595) 04 February 2020, 23:07:48 UTC
8c31700 Enable @typescript-eslint/space-before-function-paren, @typescript-eslint/no-unused-expressions (#36569) * use @typescript-eslint/no-unused-expressions instead of no-unused-expressions * enable @typescript-eslint/space-before-function-paren 04 February 2020, 22:43:25 UTC
7726464 De-duplicate indentations in JSX Texts (#36552) * WIP on making the JSX text node not include whitespace * Scans to the last newline for JSX correctly * Handle JSX closing element wrapping * Offload all jsx text indentation handling to indentMultilineCommentOrJsxText * Switch from find node -> find inde in formatting Co-authored-by: Wesley Wigham <wwigham@gmail.com> 03 February 2020, 22:09:50 UTC
1c42fd4 fix(33600): disallow convertFunctionToEs6Class Quick Fix for IIFE (#36580) 03 February 2020, 21:52:08 UTC
ba4f59f Update user baselines (#36578) 03 February 2020, 20:48:57 UTC
ef8eb0c Fix contextually typed object literal completions where the object being edited affects its own inference (#36556) * Conditionally elide a parameter from contextual type signature calculation * Slightly different approach to forbid inference to specific expressions * Handle nested literals and mapped types correctly * Delete unused cache * Rename ContextFlags.BaseConstraint and related usage * Add tests from my PR * Update ContextFlags comment Co-Authored-By: Wesley Wigham <wwigham@gmail.com> * Update comments and fourslash triple slash refs Co-authored-by: Wesley Wigham <wwigham@gmail.com> 31 January 2020, 23:37:18 UTC
ad24904 resolvedJSDocType should cache on node, not symbol (#36561) 31 January 2020, 23:19:45 UTC
86556d6 Fix `export *` that resolves to something type-only (#36558) * Fix `export *` that resolves to something type-only * Add same tests but non-tsserver 31 January 2020, 23:09:27 UTC
8db1d7b Do not adjust location for import/export keywords with more than one possible binding (#36560) 31 January 2020, 22:58:30 UTC
9a357c1 Fix wrong script info used to resolve line/offset for call hierarchy items (#36559) 31 January 2020, 22:41:25 UTC
01af3aa Support 'find references' on most declaration-related keywords (#36490) * Allow 'find references' to work on most declaration keywords * Add support for rename * Add more keywords, move logic out of checker and into services * Add additional type and expression keywords 31 January 2020, 19:53:57 UTC
afddaf0 Fix declaration for Array.prototype[Symbol.unscopables] (#36540) 31 January 2020, 18:42:02 UTC
fcf2850 Fix overzealous renaming of emit helpers in es module emit (#36541) 31 January 2020, 18:41:47 UTC
24d8f79 Fix crash in emitTokenWithComment (#36542) 31 January 2020, 18:41:09 UTC
80ad0de Fixes to handle file names in module resolution watching and createGetCanonicalFileName (#36106) * Add test case to verify directory casing preservation when watching * Fix unicode file name handling when watching failed lookup locations * Add special file name lower conversion routine and use that instead of toLowerCase Fixes #31819 and #35559 * Remove unicode from code * Replace toLocaleLowerCase on filenames with ts.toFileNameLowerCase * Make the intent of using toFileNameLowerCase more clear and why we make the restriction on turkish I with dot on top of it * Update baselines for newly added tests in master 31 January 2020, 18:40:57 UTC
ad8feb5 Filter out private fields in string literal property completions. Also some minor simplifications. Fixes 36082. 31 January 2020, 03:42:32 UTC
75d1ead Improvements based on @sandersn's notes 31 January 2020, 03:42:04 UTC
1a1ed74 Add a similar test for `target.symbol.valueDeclaration` (With the same question still open.) 31 January 2020, 03:42:04 UTC
68a9d45 Avoid testing `isClassDeclaration` if there's no `valueDeclaration` I'm not sure if this is enough -- perhaps it's better to make the test dig through the interface/s to the class? Fixes 36059. 31 January 2020, 03:42:04 UTC
f24f363 Fixes JSX attribute escaping when parent pointers are missing (#35743) * Fixes JSX attribute escaping when parent pointers are missing * Fix whitespace change 31 January 2020, 00:52:31 UTC
8ed1297 fix spelling errors (#36523) * fix spelling errors * remove changes in lib/* 30 January 2020, 21:39:54 UTC
bfff115 fix(35069): insert blank line after last new import (#36531) 30 January 2020, 19:20:09 UTC
4c378c0 Report config file parsing diagnostics correctly with tsc --b (#36520) * Refactor the test * Add tests for syntax errors in tsconfig not being reported * Report config file parsing diagnostics correctly Fixes #36515 * Fix errors in existing tests for unintended tsconfig parse errors * Fix lint 30 January 2020, 19:18:06 UTC
c1e45ac Fix use-before-def errors for ESNext property declarations (#36465) * Fix use-before-def errors for ESNext property declarations Fixes #36441 Fixes #36442 * Handle property declarations in nested classes 30 January 2020, 18:58:07 UTC
8a0b882 Fix contextually typed parameter issues (#36476) * Fix multiple issues with contextually typed parameters * Accept new baselines * Fix lint error * Add tests * Address CR feedback * Add fourslash tests 30 January 2020, 18:50:39 UTC
140fee9 Capture fakes.version instead of the current version string in baselines (#36518) * Capture CURRENT.VERSION instead of the current version string in baselines * Use fakes.version * Move replacer into patchHostForBuildInfoReadWrite 30 January 2020, 00:15:09 UTC
2fac535 Fix type-only imports in interface 'extends' and import=/export= (#36496) * Handle when files get checked in different orders * Fix interface extends clause * Fix import= something type only from a module * Revert apparently unnecessary addition * Revert "Revert apparently unnecessary addition" This reverts commit 7444b0b72ea2e628ff414b675ef42723a6a7695d. * Disallow `import = a.b.c` on anything with type-only imports * Safety first * Add test for TS Server single-file open * Add big comment * Extract error reporting function for import aliases * Delete blank line * Un-export, comment, and colocate some utils * Combine 3 type-only marking function calls into one * Add more export default tests 29 January 2020, 23:00:17 UTC
aec732a Actually use the caches resolvedJSDocType (#36516) 29 January 2020, 22:58:06 UTC
36169b4 Class fields w/esnext+[[Define]]:no shadow error (#36405) * Class fields w/esnext+[[Define]]:no shadow error With useDefineForClassFields: true and ESNext target, initializer expressions for property declarations are evaluated in the scope of the class body and are permitted to reference parameters or local variables of the constructor. This is different from classic Typescript behaviour, with useDefineForClassFields: false. There, initialisers of property declarations are evaluated in the scope of the constructor body. Note that when class fields are accepted in the ECMAScript standard, the target will become that year's ES20xx * add negative test case * Add explanatory comment 29 January 2020, 22:47:44 UTC
8da3eff Subtypes of ErrorConstructor extend it (#35549) Previously subtypes of Error extended Error, but the matching subtypes of ErrorConstructor did not extend ErrorConstructor. The members in es5.d.ts are identical, so there's no need except for allowing interface merging into ErrorConstructor to affect subtypes as well. 29 January 2020, 21:26:00 UTC
1bbcb55 @typedef's nested Object syntax disallows type arguments (#36172) Previously the jsdoc index signature syntax was incorrectly treated the same as Object: ```js /** @typedef {Object} AllowsNesting * @property ... */ /** @typedef {Object.<string,string>} IncorrectlyAllowsNesting */ ``` Fixes #34911 29 January 2020, 20:53:00 UTC
502e711 Dont use sourcemap if it contains inlined sources (#36384) Fixes #35014 29 January 2020, 19:21:42 UTC
566202f Fix commas in JSON (#36497) 29 January 2020, 18:50:03 UTC
c42ef57 createPrivateIdentifier: names must start with # (#36506) 29 January 2020, 18:11:30 UTC
0cf100d Add constructor functions to aliasable expressions (#36108) * Add constructor functions to aliasable expressions Fixes #35228, at least the crash. There are still a couple of errors that are probably incorrect. Note that isJSConstructor relies on parent pointers and the ability to merge symbols, so I had to move isAliasSymbolDeclaration (back?) to the checker. * add simple test case * remove errors in test * fix bad merge 29 January 2020, 17:36:59 UTC
49282d9 Nested this container (#36495) * Add nestedThisContainer test * Fix #36492 29 January 2020, 17:35:23 UTC
back to top