sort by:
Revision Author Date Message Commit Date
799bbbe Just calculate the result at the end of commitPendingMapping. 23 April 2021, 02:54:06 UTC
312ce16 Ugh. 23 April 2021, 01:39:55 UTC
4c86404 Use an array for building up mappings in the sourcemap generator. 23 April 2021, 01:07:28 UTC
c552a4b fix(42829) ignore preceeding jsx whitespace (#43452) 22 April 2021, 22:12:05 UTC
1a41e19 Update package-lock.json 22 April 2021, 06:08:15 UTC
f6d425e Module Resolution and Type Reference directive cache updates and its API changes (#43700) * Make the module resolution cache apis for updating compiler options or clearing it * Cache package.json lookup results from module resolution * Use per directory cache for type reference directive resolution as well * Update Baselines and/or Applied Lint Fixes * Change trace according to feedback * Update Baselines and/or Applied Lint Fixes Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> 22 April 2021, 04:30:18 UTC
fb0b1d7 Handle getter setter quickInfo (#43769) Fixes #43413 22 April 2021, 00:47:11 UTC
ba68dc8 Remove pin, it’s fixed (#43766) 21 April 2021, 21:18:04 UTC
f4b8adc Comment copy edit 21 April 2021, 19:51:36 UTC
8ea4ec9 Add `infer T` constraint inference rule matching up mapped type templates across check/extends types (#43649) 21 April 2021, 19:49:02 UTC
a433c3c Pin octokit types (#43762) * Pin @octokit/types to fix build error * Allow update package lock to be run on a workflow dispatch 21 April 2021, 18:50:29 UTC
45514d6 Update package-lock.json 21 April 2021, 06:08:19 UTC
3d24b85 Completion list for type literals in type arguments (#43526) * Completion list for type literals in type arguments * Add tests * Refactor for better readability * - Support non-identifier keys - Move main logic onto tryGetGlobalSymbols function 20 April 2021, 17:24:17 UTC
f270529 Fix object literals lack of this references (#43572) * fix: object literals lack of this references * test: improve cases 20 April 2021, 17:06:08 UTC
8513f78 Fix getCodeFixesAtPosition for ts(2339) thows error False expression: Token end is child end (#43645) * Fix getCodeFixesAtPosition for ts(2339) thows error False expression: Token end is child end Fixes #43191 * Add test 20 April 2021, 17:00:34 UTC
a910c8d Added skipDestructiveCodeActions argument to organize imports server command (#43184) * Stopped removing unused imports in files with syntactic errors * Added allowDestructiveCodeActions arg * Updated .d.ts baselines * Stop factoring syntax errors. Weird that no tests break... * Have args extend scope so it is not a breaking change * Update src/harness/harnessLanguageService.ts Co-authored-by: Jesse Trinity <jetrinit@microsoft.com> * Fixed API breaking change, and renamed to skip * Always with the baselines * One more .d.ts baseline to fix * Remove blank line in src/harness/harnessLanguageService.ts Co-authored-by: Jesse Trinity <jetrinit@microsoft.com> 20 April 2021, 16:04:17 UTC
f67ee44 Instantiate getter when infering setter parameter value (#43564) * Instantiate getter when infering setter parameter value * Use esnext on tests * Instantiate for JsDoc and getter from body * PR comments * Updated baseline 20 April 2021, 06:23:40 UTC
167ebcd Check type flags before checking multiple-meaning object flags (#43745) 20 April 2021, 05:35:11 UTC
7e4400b Stop checking getter/setter compatability twice (#43741) * Stop checking getter/setter compatability twice * Ensure modifier errors are still emitted on both accessors, accept modified baselines 19 April 2021, 22:53:48 UTC
52ec8ce Clean up ObjectFlags enum (#43732) * Clean up ObjectFlags enum * Accept new baselines 19 April 2021, 22:33:36 UTC
85c9d2c Use faster, stricter prop type comparison when merging props in union prop creation (#43696) * Use faster, stricter prop type comparison when merging props in union prop creation * Be better at determining this usage in methods, accept baselines * Small style change 19 April 2021, 22:25:12 UTC
1a04b17 Fix organize imports overlap (#43228) * Fix organize imports overlap * Refactored multiline end position * Added tests for single line trailing trivia * Fix rearranging imports * Fix lint error * PR coments 19 April 2021, 22:10:57 UTC
c671fe1 Skip up-to-date checks during force build (#43666) * Skip up-to-date checks during force build Save work by not checking timestamps or parsing the buildinfo file. Retain correctness checks (like input file existence). Suppress project status, which was confusing anyway. * Print a message to indicate that --force is causing the rebuild * Don't bother updating buildInfoChecked * Add missing force check 19 April 2021, 20:06:00 UTC
e0d5516 Remove preprinter, add parenthesizer callback to emit (#43652) 19 April 2021, 16:34:46 UTC
b1ab2b9 Wire up 'writing' parameter through protected derived class detection (#43455) Fixes #43443 19 April 2021, 16:20:21 UTC
e4e96c3 Update package-lock.json 18 April 2021, 06:07:36 UTC
0f2dabc Don't re-alias top-level type aliases with local type aliases (#43701) * No re-aliasing of top-level type aliases with local type aliases * Accept new baselines 17 April 2021, 14:07:46 UTC
01264ac Reducing tsbuildinfo size further (#43695) * Serialize compiler options that are needed from old state when creating new state * Dont write affectsGlobalScope if not true * Encode FileInfo for better serialization size * Update src/compiler/builder.ts Co-authored-by: TypeScript Bot <typescriptbot@microsoft.com> 17 April 2021, 06:22:14 UTC
9af763d Update package-lock.json 16 April 2021, 06:08:00 UTC
0eee64f Node factory should insert override modifier between static and astnc (#43699) 16 April 2021, 00:16:19 UTC
06f25c0 Enforce keyword order between override and static/async (#43660) * Enforce keyword order between override and static/async * Update old tests for new keyword order 15 April 2021, 21:03:53 UTC
0987ee9 Do not erase signatures in getSignatureOfTypeTag (#43688) I don't see a reason for it, and it doesn't cause any tests to fail. 15 April 2021, 17:53:23 UTC
931b20a Update package-lock.json 15 April 2021, 06:07:53 UTC
3f93d42 Fix @typedef/@callback scope (#43682) JSDoc typedefs don't actually have hosts, because they're not semantically attached to a declaration. However, the parser still attaches them to some declaration (or statement), but that declaration is not related to the typedef. Previously, delayedBindJSDocTypedefTag used getJSDocHost to walk past the unrelated declaration, but #41858 correctly started categorising typedefs as unattached, with no host, so the binder began falling back to file scope. The path to skip the unrelated declaration is always the same, though, so this PR uses `typeAlias.parent.parent` instead of `getJSDocHost(typeAlias)`. 14 April 2021, 23:56:37 UTC
3ab6809 Consider identical instances of the same symbol equivalent when creating union and intersection properties (#43560) * Consider identical instances of the same symbol equivalent when creating union and intersection properties * Also copy over mapper and type (if available) on cloned symbols * Editorial feedback 14 April 2021, 23:55:45 UTC
6c7c5e9 Expand exception to contravariant constraint elision to all type variables (#43599) * Expand exception to contravariant constraint elision to all type variables * Comment update 14 April 2021, 20:13:02 UTC
f74f9ca Add telemetry properties for import statement completions (#43664) 13 April 2021, 23:17:52 UTC
e87a0be fix(43444): add support JSDoc function signatures on returned function expressions (#43607) Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 13 April 2021, 23:11:58 UTC
6a3d689 Add jsdoc to all js statements (#43659) * Add jsdoc to if statements This should only happen in JS files, however, and there needs to be some conditional handling of jsdoc on statements that can't have jsdoc in TS files. * Finish change * Add test 13 April 2021, 22:30:22 UTC
5977233 Reinstate constraint check for template literal types (#43661) * Add missing constraint check for template literal types * Add regression test 13 April 2021, 22:17:55 UTC
5a6a499 Fix sending correct symbol when using commonjs require and destructuring (#43511) * Fix sending correct symbol when using commonjs require and destructuring * Check BindingElement 13 April 2021, 22:06:34 UTC
6002cff Trim indexed access and type variable constraint error output (#43540) 13 April 2021, 20:13:32 UTC
06a7365 Don’t error for missing await when promise is referenced in condition body (#43593) 13 April 2021, 19:15:48 UTC
d601221 @link and @see resolve C.m as a class property reference (#43625) * Test + Initial scribbles The test is pretty good, the scribbles are actually cleanup from last PR, although they break some tests. * undo scribbles, add nonworking class-hack * Ad-hoc name resolution for @link and @see Turns out that you can't reuse check* functions if you want to retrieve all meanings of a reference. * fix failing test * inline hapax function * Fix find-all-refs baseline print * Try to resolve C.m as static first * Add interface tests Co-authored-by: Andrew Branch <andrew@wheream.io> 13 April 2021, 15:13:18 UTC
7c10135 Don't start jsdoc tag before whitespace (#43602) Fixes #43580 12 April 2021, 17:20:44 UTC
0487b38 Catch hover on as const (#43588) * Catch hover on as const * Update test based on feedback 12 April 2021, 10:43:47 UTC
5d8a4a1 Update package-lock.json 12 April 2021, 06:08:08 UTC
131875b Update package-lock.json 10 April 2021, 06:07:35 UTC
716441d Process only existing files and directories in the test harness `fs.statSync` throws `ENOENT` if there is a symlink to a nonexistent target. This can be avoided by checking that the entry exists before using it. (This is annoying when editing tests in Emacs, since it keeps lock files for modified-but-unsaved files, which are `.#foo` symlinks to a nonexistent target.) 09 April 2021, 21:53:23 UTC
b0c2860 ignore static and declared member if checking override (#43569) * ignore static member if checking override * Ignore declared member when check override * Check static override too * Add more tests 09 April 2021, 17:43:33 UTC
a354a77 Improve rendering of JSDoc comment text with displayparts (#43390) * feat(services): jsdoc use custom name for display parts * fix(services): jsdoc typo * feat(services): revert jsDoc changes * feat(services): jsdoc improve displayparts with more comment kinds Improve rendering of JSDoc comment text with displayparts for: - `@typedef` - `@callback` - `@param` - `@property` * feat(services): jsdoc improve displayparts for template * test: accept baseline * test: update jsdoc parameterName * feat: resolve pr comments * test: add fourslash tests for jsdoc callback, typedef * test: accept baselines * test: revert changes for api baselines * refactor: naming * refactor: code quality * refactor: clean up code as to pr comments 09 April 2021, 16:44:44 UTC
75e9c94 While writing tsbuildinfo sort the properties of compiler options to make sure they stay same if nothing changes. (#43601) Fixes #43571 08 April 2021, 23:32:09 UTC
9705547 Update package-lock.json 08 April 2021, 08:47:47 UTC
fe4a670 Specified diagnostic for CLI flags mismatched with/out --build (#43199) * Specified diagnostic for CLI flags missing a required --build * Switched to an alternateMode member * Added --build-incompatible flags too * Small fixups to remove a hardcoding * Switched to ||= factories * Not a function * I think I get it now 07 April 2021, 23:03:17 UTC
2f82d02 Fix Add all missing imports when ordered alphabetically (#43453) * Refactored insertNodeInlistAfter to use next elements position * Consider trivia on insertNodeInListAfter 07 April 2021, 23:02:26 UTC
d41943e Properly handle tagged primitives in control flow analysis (#43538) * Ignore object types in intersections with primitive types * Add regression test * Also handle instantiable types constrained to object types * Add another test * Add ignoreObjects optional parameter to getTypeFacts 07 April 2021, 21:29:46 UTC
a4c683b Again: Improve error messages for empty DOM interface property access (#43007) * Again: Improve error messages for empty DOM interface property access * containerSeemsToBeEmptyDomElement Co-authored-by: Daniel Rosenwasser <drosenwasser@microsoft.com> * isEmptyObjectType; unescapeLeadingUnderscores * Single tick quotes for now * Undo accidental diagnostic change * Correct new baseline Co-authored-by: Daniel Rosenwasser <drosenwasser@microsoft.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 07 April 2021, 19:54:27 UTC
905a1fe Corrected parsing for decorators on 'this' parameters (#43175) * Corrected parsing for decorators on 'this' parameters * Moved checking to parser and added a specific test * Remove unrelated checker.ts blank line * Missed some baseeline updates... 07 April 2021, 18:21:28 UTC
2484210 Gh 41788 incorrect output for esprivate with nested class in esnext (#42663) * If target:esnext,then useDefineForClassFields: true will now be the default. * Added error if a private identifier is used in a static a initializer if target:ESNext and useDefineForClassFields:false. * Added test for new useDefineForClassFields default and error message. * Fixed tests after changing the default of useDefineForClassFields to true for target esnext * Fixed code review suggestions. * Updated error message. * Added missing static check for the containing property. Fixed other code review issues. 07 April 2021, 15:23:16 UTC
2bb54dc Fix getTypeFromJSDocVariadicType in callback tag (#43562) * Fix getTypeFromJSDocVariadicType in @callback Variadics have never worked there, I think. * add test + fix lint * remove outdated comment 07 April 2021, 15:12:05 UTC
c1923e9 Update package-lock.json 07 April 2021, 06:08:06 UTC
dd1ef88 Use control flow to type CommonJS exports (#42751) * Allow redeclaring CommonJS alias with initial undefined This allows us to read our own output, plus the times when people manually write exactly the same pattern. Fixes #40555 * Use control flow to type commonjs exports 1. Could probably use a *lot* more tests. 2. getTypeOfAlias redoes some work from resolveAlias because it needs to not resolve the alias completely, just to its export. * fix lint, improve jsdoc * Add tests, improve+fix control flow 1. Update the module.exports test to match the exports ones. 2. Add a test of evolving commonjs type. 3. Add a test of assignment as last statement. (1) exposed a bug that required a better synthetic reference. (3) exposed a bug that was most easily fixed by giving source files a `endFlowNode` like functions and setting it in the binder. * fix lint 07 April 2021, 00:07:35 UTC
eebb895 fix(43495): insert Override keyword after accessibility modifier (#43504) 06 April 2021, 19:03:41 UTC
3a22b3e fix(43535): preserves 'override' modifier in JavaScript output (#43536) 06 April 2021, 18:31:54 UTC
a56baa7 Update user baselines +cc @sandersn (#42842) Co-authored-by: typescript-bot <typescript@microsoft.com> 06 April 2021, 15:58:43 UTC
fb87079 Enforce `override` precedes `readonly` (#43545) 06 April 2021, 15:48:44 UTC
8581a59 fix(43347): fix crash occurred when export type to existing commonJs imported name (#43369) 06 April 2021, 15:46:22 UTC
f526a38 Always grammar checker for override (#43544) 06 April 2021, 14:29:57 UTC
3cf26e4 fix(43160): improve error location for functions without explicit return (#43367) * fix(43160): improve error location for functions without explicit return * handle functions returning never 06 April 2021, 14:21:02 UTC
3b06ef1 Add asserts to type only symbols meaning exclusion (#43382) Fixes #42180 05 April 2021, 22:29:51 UTC
ffe925d Go to definition: pass `unverified` through server (#43483) * Pass `unverified` through server * Update protocol baseline * Fix unit tests * Fix other tests 05 April 2021, 20:42:25 UTC
4b556e3 Handle document Registry to distinguish between files with same name and document registry key(compiler options affecting source file) but different ScriptKind (#43474) * Test that fails because of change in scriptKind of untitled file * buckets are keyed with DocumentRegistryBucketKey * Use scriptKind in document Registry to distinguish between files Fixes #42613 05 April 2021, 20:27:34 UTC
2d66517 fix quickinfo of narrowed private filed (#43356) * fix quickinfo of narrowed private filed * add test case. * adapt review. 05 April 2021, 20:24:19 UTC
a7a010a Fix getRecursionIdentity function to always return some identity (#43527) * Fix getRecursionIdentity, undo changes from #43435 (but keep tests) * Remove test that takes excessively long to run * Accept new baselines * Fix formatting * Add regression tests * Reinstate test 05 April 2021, 19:53:38 UTC
f621d67 fix(42605): support refactoring for export default assignment without equal (#42936) 05 April 2021, 18:59:45 UTC
cf8798d Make origin union cache key unique for key lists still under construction (#43339) 05 April 2021, 18:47:49 UTC
d1b4342 Allow nested reverse mapped type printback (#42485) * Optimize interning of reverse mapped types * Style feedback * Whitespace * Update baseline 05 April 2021, 18:37:51 UTC
1f1dcd6 When reusing input type nodes, only instantiate the type for comparison if it is a this type (#42584) 05 April 2021, 18:10:47 UTC
5268264 fix(43316): omit to suggest converting to async function if a void is explicitly returned (#43358) 05 April 2021, 18:09:33 UTC
f03e59e Do not covariantly mix in constraints from contravarrying positions (#43439) * Do not covariantly mix in constraints from contravarrying positions * Exclude keyof from constraint variance tracking * Extra test case * Always subtitute on type parameter types 05 April 2021, 18:05:33 UTC
2f36065 Add grunt user test (#43510) * Add grunt user test * remove unneeded submodule 05 April 2021, 16:22:41 UTC
889a103 Update package-lock.json 05 April 2021, 06:08:00 UTC
61a9a88 Update package-lock.json 04 April 2021, 06:07:40 UTC
dfc380a Update package-lock.json 03 April 2021, 06:07:38 UTC
38da7c6 Disabled 'used before initialization' error for optional properties (#43100) * Disabled 'used before initialization' error for optional properties * Expanded tests to include code snippet from issue 02 April 2021, 17:08:10 UTC
f9b35cd Add @link jsdoc auto-complete (#43475) * feat(services): jsdoc add link tag name * test: add jsdoc inline test 02 April 2021, 00:02:50 UTC
c6a2e45 Add @deprecated to tree walk (#43473) So various things don't crash. Fixes #43472 01 April 2021, 15:42:00 UTC
8f8a579 Added BindingElement to isSomeImportDeclaration (#43387) * Added BindingElement to isSomeImportDeclaration * Added tests * Refactores to use getDeclarationOfAlias 01 April 2021, 01:18:16 UTC
62f3ccd Error if assignment after block (#41115) * Error if assignment after block * Update src/compiler/diagnosticMessages.json Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> * Fix diags * Error after block Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 31 March 2021, 22:57:25 UTC
76a2ae3 Only issue matching token errors on non-dupe locations (#43460) * Only issue matching token errors on non-dupe locations Intead of unconditionally retrieving the last error and attaching a related span, `parseErrorAt` and friends now return the last error and return `false` when there is none. Also make one more place use parseExpectedMatchingBrackets that I missed last time. * Inline parseTokenForError, return undefined not false * skip redundant undefined assignment * address PR comments 31 March 2021, 20:54:53 UTC
5b7838e Update package-lock.json 31 March 2021, 06:08:04 UTC
d51b8cf Do not delete output file names that are same as input file name (#43448) * Add failing test case * Do not delete output file names that are same as input file name Fixes #43116 30 March 2021, 23:04:25 UTC
3dd68b8 Fix template literal type relations (#43440) * Fix template literal relationships * Accept new baselines * Add regression test 30 March 2021, 22:53:15 UTC
819651e fix(43313): add parentheses to a type assertions (#43315) 30 March 2021, 22:29:02 UTC
a8ee22f "fix(services): convert to es6 module generate invalid code with .default" (#43309) 30 March 2021, 22:24:31 UTC
b549467 Consider base types in isArrayLikeType (#43435) * Types that extend Array or ReadonlyArray are automatically array-like * Add React repro to test 30 March 2021, 20:18:38 UTC
555ef73 Adding Diagnostic message for missing ']' and ')' in Array literal and conditional statements (#40884) * Adding Diagnostic message for missing ']' in Array literal * revert change on parseArrayBindingPattern * Adding diagnostic message for if, while, do and with statements * Extract parseExpectMatchingBrackets Co-authored-by: Keerthana Kanakaraju <kekanaka@microsoft.com> Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> 30 March 2021, 20:13:57 UTC
294a5a7 Remote duplicated assignment (#43399) 30 March 2021, 04:30:45 UTC
6fd676b fix(43215): disallow using never as an interface name (#43217) 30 March 2021, 00:22:41 UTC
57775ed Consider class field properties to redeclare parent definitions (#43194) 30 March 2021, 00:20:25 UTC
back to top