https://github.com/Microsoft/TypeScript

sort by:
Revision Author Date Message Commit Date
dbefaf2 Revert "Proposal: If there’s a package.json, only auto-import things in it, more or less (#31893)" This reverts commit 60a1b1dc1a93ca792cf12bb0432cf7bc134c3ad1. 17 July 2019, 16:04:53 UTC
049618f Get contextual type of yield from contextual signature of containing function (#32433) * Get contextual type of yield from contextual signature of containing function * Add missing baseline 17 July 2019, 00:16:21 UTC
b589020 Merge pull request #32425 from microsoft/scopedPackageAquisition Handle scoped package names in typing installer 16 July 2019, 23:48:35 UTC
d476552 Merge pull request #32429 from microsoft/jsDocTokenParsing Fix missing tokenToString for the backtick token 16 July 2019, 21:10:37 UTC
607c9c5 Fix missing tokenToString for the backtick Fixes #32073 16 July 2019, 20:30:38 UTC
10f3063 Merge pull request #32421 from orta/improve_mulitline_exceptions Make it easier to read multi-line exceptions 16 July 2019, 18:55:09 UTC
dc38ace Fix the export on TestServerHostCreationParameters to fix build break after LKG Its not detected currently is because LKG doesnt have #32156 16 July 2019, 18:38:09 UTC
49ba408 Handle scoped package names in typing installer Fixes #32075 16 July 2019, 18:13:03 UTC
664671c Merge pull request #32377 from minajevs/fix29666 Fix completion lists for 'readonly' and 'const' keywords 16 July 2019, 17:17:52 UTC
1de76cd Control flow for element access expressions (#31478) * Control flow for element access expressions Draft version, just want to see how performance is * Add baselines * Fix cast lint * Cleanup to share code path * Fix errant diffs 16 July 2019, 17:10:58 UTC
d3f3c8e Make it easier to read multi-line exceptions 16 July 2019, 16:00:22 UTC
84cdc63 Merge angle-bracket fix 16 July 2019, 08:00:45 UTC
7608dc2 Merge branch 'master' into fix29666 16 July 2019, 07:52:26 UTC
0075b0a Fix for angle-bracket type assertion 16 July 2019, 07:06:16 UTC
9a37ef8 typeAssertionKeywords tests 16 July 2019, 07:04:14 UTC
c7b8b2a Merge pull request #32382 from dragomirtitian/GH-29769-generic-auto-completion-missing-primitives Fixed auto completion after a < token to return types not values. 15 July 2019, 23:41:03 UTC
7cdfbce Improve accuracy of remove unnecessary await fix (#32384) 15 July 2019, 22:17:32 UTC
17762c4 Fall back to (Async)IterableIterator if (Async)Generator not found (#32303) 15 July 2019, 20:41:17 UTC
0038b0b Merge pull request #31815 from gb714us/bug/31631 create outlining span for JsxFragment 15 July 2019, 18:19:24 UTC
1397dc9 Update user baselines (#32403) 15 July 2019, 17:17:29 UTC
55cc638 LEGO: Merge pull request 32404 LEGO: Merge pull request 32404 15 July 2019, 16:10:37 UTC
79201c9 LEGO: check in for master to temporary branch. 15 July 2019, 16:10:11 UTC
2c26ac2 Merge pull request #32243 from orta/fix-30536 Adds support for class completions after ASI inserted class property definition 15 July 2019, 15:54:13 UTC
4bb0aae Merge pull request #32359 from orta/fix_14589 Don't add extra indentation for objects inside function parameters 15 July 2019, 15:33:48 UTC
1d78218 Handle feedback from #32359 15 July 2019, 14:49:08 UTC
303297a Merge pull request #32362 from microsoft/fix32230 Fix type parameter inference cache invalidation logic 12 July 2019, 23:57:34 UTC
851156d Add kind to JsxAttributes (#32369) Add kind to JsxAttributes 12 July 2019, 21:40:30 UTC
4f34121 Parse quoted constructors as constructors, not methods (#31949) * Parse quoted constructors as constructors, not methods * Update baselines * Fix disambiguation between quoted constructor and property named constructor * Clean up parsing a bit * Support escapes in constructor name * Update baselines 12 July 2019, 21:01:57 UTC
ba79b5f Fixed auto completion after a < token to return types not values. 12 July 2019, 20:14:42 UTC
37f2e59 Cache & widen assigned js prototype type (#32381) 12 July 2019, 19:49:34 UTC
59d5585 Don't indent properties if an object literal follows directly from another object on the same line 12 July 2019, 19:24:07 UTC
89badcc Add 'Remove unnecessary await' suggestion and fix (#32363) * Add remove unnecessary await fix * Add test for removing unnecessary parens after await is gone * Fix handling of numbers in property access expressions * Don’t offer suggestion when awaited type is any/unknown * Fix random other test * Fix new expression edge cases * Only remove parens for identifiers and call expressions 12 July 2019, 18:03:20 UTC
60a1b1d Proposal: If there’s a package.json, only auto-import things in it, more or less (#31893) * Move package.json related utils to utilities * Add failing test * Make first test pass * Don’t filter when there’s no package.json, fix scoped package imports * Use type acquisition as a heuristic for whether a JS project is using node core * Make same fix in getCompletionDetails * Fix re-exporting * Change JS node core module heuristic to same-file utilization * Remove unused method * Remove other unused method * Remove unused triple-slash ref * Update comment * Refactor findAlias to forEachAlias to reduce iterations * Really fix re-exporting * Use getModuleSpecifier instead of custom hack * Fix offering auto imports to paths within node modules * Rename things and make comments better * Add another reexport test * Inline `symbolHasBeenSeen` * Simplify forEachAlias to findAlias * Add note that symbols is mutated * Symbol order doesn’t matter here * Style nits * Add test with nested package.jsons * Fix and add tests for export * re-exports 12 July 2019, 17:08:55 UTC
71bec5b Add quick fix to add missing 'await' (#32356) * Start prototyping addMissingAwait codefix * Filter by diagnostics that have missing-await related info * Start writing tests and checking precedence * Implement codeFixAll, add test for binary expressions * Add test for iterables * Add test for passing argument * Add test for call/construct signatures * Add test for awaiting initializer * Improve assertion error * Replace specific property access error with general one and add await related info * Add test for property access * Require code to be inside a function body to offer await * Accept suggestion Co-Authored-By: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com> * Add explicit test for code fix being not available unless something is a Promise * Skip looking for function body if already in AwaitContext flags * Inline getCodeActions function for symmetry 12 July 2019, 17:07:55 UTC
d4b2149 LEGO: Merge pull request 32379 LEGO: Merge pull request 32379 12 July 2019, 16:10:43 UTC
4e49706 LEGO: check in for master to temporary branch. 12 July 2019, 16:10:19 UTC
8516127 Fix regression of generic T assignability to Partial<T> (#32354) 12 July 2019, 14:57:55 UTC
b2c555a Added new keword compeltion filter for assertions 12 July 2019, 12:25:00 UTC
74805c2 Fixed failing test due to changed details 12 July 2019, 11:11:23 UTC
1d93b76 Added "readonly" to Type Keywords 12 July 2019, 11:04:19 UTC
84f4acd Add kind to JsxAttributes. 12 July 2019, 00:34:41 UTC
4b9ca33 Accept new baselines 11 July 2019, 20:47:34 UTC
c53246f Add regression test 11 July 2019, 20:47:27 UTC
ea73093 Merge pull request #32360 from microsoft/incrementalPaths Ensure that the filePaths in compiler options are absolute before getting relative path to buildInfo directory 11 July 2019, 20:45:39 UTC
0e273c3 Fix type parameter inference cache invalidation 11 July 2019, 20:45:19 UTC
fd4f4fe Ensure that the filePaths in compiler options are absolute before getting relative path to buildInfo directory Fixes #32353 11 July 2019, 20:18:35 UTC
dfc97db Don't add extra indentation for objects inside function parameters 11 July 2019, 18:26:03 UTC
f209995 Update DOM: Remove carriage returns from comments (#32352) 11 July 2019, 17:16:46 UTC
d2c9d6c Improved parameter names for call signatures resulting from unions when only one parameter name is available. (#32056) 11 July 2019, 17:06:49 UTC
fbdbb14 Update user baselines (#32346) 11 July 2019, 16:46:37 UTC
c6b2869 LEGO: Merge pull request 32343 LEGO: Merge pull request 32343 11 July 2019, 10:10:49 UTC
6b89c72 LEGO: check in for master to temporary branch. 11 July 2019, 10:10:20 UTC
8eb3822 Merge pull request #28290 from rflorian/add-codefix-cannot-find-name-in-for-loop Add codefix for 'Cannot find name' diagnostic 11 July 2019, 04:47:36 UTC
6839973 Generate a unique type parameter name for each nested type parameter (#31544) * Generate a unique type parameter name for each nested type parameter * Add testcase from 31605 * Fix typo * Liiiiiine eeeendingggggss 11 July 2019, 00:12:20 UTC
daf0a73 Fix lookup of optional methods in declaration emit (#32094) 10 July 2019, 23:39:07 UTC
5289f2e Update DOM from TSJS-lib-generator (#32335) * Update DOM from TSJS-lib-generator 1. Update Navigator and other small updates. 2. Make ProgressEvent generic. 3. Make `window: Window & typeof globalThis`. 4. Add types: * CSS Overflow * CSS Masking * Web Authentication * WebGL 2 The big change is that `window` now includes globals in its type via `typeof globalThis`. This helps some codebases a lot, such as chrome-devtools-frontend. * Update baselines 10 July 2019, 23:36:50 UTC
00e7d9c Merge pull request #32334 from andrewbranch/no-missing-await-on-unary-arithmetic-expressions Remove "Did you forget to use await" for unary arithmetic expressions 10 July 2019, 21:21:29 UTC
f41c9b2 Rename parameter 10 July 2019, 20:34:58 UTC
ab9e583 Remove "Did you forget to use await" for unary arithmetic expressions 10 July 2019, 20:18:37 UTC
34ffefb Update user baselines (#32324) 10 July 2019, 20:00:30 UTC
196db5b Fixed lint error 10 July 2019, 00:35:40 UTC
f273448 Added addMissingConst codefix for comma separated initializers 10 July 2019, 00:11:02 UTC
a4cddd4 Merge pull request #32239 from andrewbranch/enhancement/missing-await-errors Improve error messages for potentially missing 'await' 09 July 2019, 23:28:54 UTC
949956b Improve multiple overloads error span (#32315) * Improve multiple overloads error span When all errors for a multiple-overload error refer to the same span, use that span instead of the one for the entire call. This situation is quite common for 2-overload sets in React. * Update baselines * Fix lint 09 July 2019, 22:39:42 UTC
b0f050f Merge pull request #32260 from microsoft/fix32169 Include conditional types in top-level type parameter check 09 July 2019, 17:30:44 UTC
1de7881 Add negative test case for addMissingConst codeFix with unexpected array elements 09 July 2019, 00:07:54 UTC
384669a Finish addMissingConst codefix for single variable and array literal assignments 08 July 2019, 23:56:50 UTC
bdd8a3e Only add "Did you forget await" for function args when the parameter type is not promise-like 08 July 2019, 23:32:53 UTC
6450199 Update error code 08 July 2019, 21:52:23 UTC
6626a99 Fix bad rebase 08 July 2019, 21:44:57 UTC
eb6b87a Refactor to use related info everywhere 08 July 2019, 21:37:45 UTC
094a001 Did you forget to use await? on arguments of function calls 08 July 2019, 21:33:25 UTC
e89a2c4 Update baselines 08 July 2019, 21:03:59 UTC
a3a076d Did you forget to use await? for call and construct signatures 08 July 2019, 21:01:25 UTC
48fc6b8 Did you forget to use await? on iterables 08 July 2019, 20:59:59 UTC
c48e34e Did you forget to use await? for operators 08 July 2019, 20:50:56 UTC
fb50920 Merge pull request #32092 from microsoft/report-multiple-overload-errors Report multiple overload errors 08 July 2019, 20:25:38 UTC
05a4e8f Update more baselines (?) 08 July 2019, 20:04:59 UTC
e55f97e Updates the baselines for the typo fixes 08 July 2019, 18:43:06 UTC
2233eba Update baselines 08 July 2019, 16:52:12 UTC
834a476 Merge branch 'master' into report-multiple-overload-errors 08 July 2019, 16:33:24 UTC
7d08f17 Added fourslash tests for standalone and array initialization cases and started implementing them 07 July 2019, 11:56:34 UTC
0d99292 Accept new baselines 05 July 2019, 02:27:19 UTC
de2fb95 Add regression test 05 July 2019, 02:27:03 UTC
d7f8f00 Include conditional types in top-level type parameter check 05 July 2019, 02:26:54 UTC
e8bf958 Improve type checking and inference for Generators and Async Generators (#30790) * Improve typing for Generators and Async Generators * Add TReturn and TNext to Iterator, IterableIterator, etc. * Update ts internal Iterator to be assignable from global Iterator * Make 'done' optional in IteratorYieldResult * Revert Iterable and IterableIterator to simpler versions plus other fixes * Add additional inference tests * Added additional tests * PR cleanup and minor async iteration type fix * Updated diagnostics message and added non-strict tests * Fix expected arity of Iterator/AsyncIterator 04 July 2019, 04:55:59 UTC
0bea4bd Widen object literal this types (#32240) 03 July 2019, 22:58:21 UTC
6e9d098 Adds support for completions after ASI inserted expressions Signed-off-by: Andrew Branch <andrew.branch@microsoft.com> 03 July 2019, 22:02:44 UTC
19b593e Merge branch 'master' into report-multiple-overload-errors 03 July 2019, 21:55:06 UTC
68cb3ae Merge pull request #32232 from typescript-bot/user-update-Microsoft-20190603 🤖 User test baselines have changed 03 July 2019, 18:22:56 UTC
6f0baa3 Merge pull request #29717 from petersandor/jsdoc-tag-author-email-support Support email in author JSDoc tag 03 July 2019, 17:42:02 UTC
16bbb4d Merge pull request #32077 from andrewbranch/bug/31114 Fix incorrect noImplicitAny error on contextual union function signature 03 July 2019, 17:10:10 UTC
722917f Remove TODO 03 July 2019, 16:50:03 UTC
d92e8ea Update baselines 03 July 2019, 16:49:00 UTC
e62d84c Merge branch 'master' into report-multiple-overload-errors 03 July 2019, 16:28:44 UTC
ba1a062 Update user baselines 03 July 2019, 14:02:33 UTC
340f810 Merge pull request #32178 from microsoft/improveTupleDestructuring Simplify tuple destructuring logic 03 July 2019, 00:25:12 UTC
440ed83 Merge pull request #32079 from microsoft/instantiationCountLimiter Add type instantiation count limiter 03 July 2019, 00:19:39 UTC
345777e Merge pull request #32208 from microsoft/fix31766 Restore union-like behavior for inference to conditional types 02 July 2019, 17:01:23 UTC
47856b3 Merge pull request #32217 from typescript-bot/user-update-Microsoft-20190602 🤖 User test baselines have changed 02 July 2019, 16:15:11 UTC
back to top