https://github.com/Microsoft/TypeScript

sort by:
Revision Author Date Message Commit Date
4ce4f58 Update LKG 25 May 2018, 21:40:51 UTC
01fc3d5 Revert "Check detected npm path is existing" This reverts commit 1fda3a4165b83fb82b666bd15e601c73590b52ec. 25 May 2018, 21:35:56 UTC
4369d54 Use external aliases in quickinfo and signature help return types (#24391) (#24395) * Dont include import types in quick info type names * Add UseAliasDefinedOutsideCurrentScope flag to LS operations which were missing it 25 May 2018, 01:35:15 UTC
30415cd Update LKG 24 May 2018, 23:58:15 UTC
a7b2983 Disallow nested object param syntax in callback tag (#24392) * Callback tag:Disallow nested-object-param syntax Previously this caused a crash in parsing. If/when we want to support this syntax, we will need to fix this crash. * Update baselines 24 May 2018, 22:12:35 UTC
b23671b Update LKG 24 May 2018, 20:50:41 UTC
9164261 Merge pull request #24387 from weswigham/port-prologue-fix Hoisted declarations should occur after prologue directives (#24386) 24 May 2018, 20:11:59 UTC
246465e Hoisted declarations should occur after prologue directives (#24386) 24 May 2018, 19:50:47 UTC
a7b7b3c moveToNewFile: Format the new file (#24379) (#24382) 24 May 2018, 18:35:02 UTC
68bc957 moveToNewFile: Respect UserPreferences#quote (#24365) (#24378) 24 May 2018, 17:06:38 UTC
4144f45 Merge pull request #24366 from Microsoft/Port24328 Port #24328 23 May 2018, 23:37:33 UTC
d9fbf96 Don't need to check failedLookupLocations if resolved successfully 23 May 2018, 23:17:31 UTC
0ef6937 getEditsForFileRename: Handle old file still being present 23 May 2018, 23:17:24 UTC
a4fd87e Merge pull request #24347 from weswigham/constraint-fix Check for keyof constraint type instead of syntactic check (#24098) 23 May 2018, 15:42:46 UTC
3546503 Merge pull request #24346 from weswigham/metadata-change Use unknown serialization kind when type symbol isnt resolved (#24332) 23 May 2018, 15:42:34 UTC
03a9615 Merge pull request #24349 from Microsoft/findRefInJson [release-2.9] Fix getter of local symbol for export= when it is json module 23 May 2018, 15:27:38 UTC
c435179 Fix getter of local symbol for export= when it is json module Fixes #24341 23 May 2018, 03:18:05 UTC
b60ad05 Check for keyof constraint type instead of syntactic check (#24098) * Check for keyof constraint type instead of syntactic check * Readopt older candidateType check, even though it shouldnt really matter * OK. Just use maybetypeOfKind * Remove redundant boolean check 23 May 2018, 00:00:10 UTC
ef6b961 Use unknown serialization kind when type symbol isnt resolved (#24332) * Use unknown serialization kind when type symbol isnt resolved * Add test for the isolated modules case 22 May 2018, 23:57:11 UTC
14fcbc1 moveToNewFile: Don't provide refactor if selection is just imports (#24336) (#24339) 22 May 2018, 23:04:58 UTC
4e88e3c Merge pull request #24335 from armanio123/FixObjectLiteralExpression Fix object literal expression 22 May 2018, 22:33:01 UTC
3321537 Use symbolToTypeNode for class & interface references (#24330) (#24334) * Use merged symbols when calculating qualification, use symbolToTypeNode * Accept baselines 22 May 2018, 22:22:36 UTC
38a0370 moveToNewFile: Support selecting the name of a declaration (#24331) (#24333) 22 May 2018, 21:48:37 UTC
a72cf5c Merge pull request #24329 from Microsoft/MergeMaster5-22-2 Merge master 5/22 22 May 2018, 19:59:24 UTC
4f25e83 Update baselines 22 May 2018, 19:32:52 UTC
1318c93 Merge branch 'master' into MergeMaster5-22-2 22 May 2018, 19:21:45 UTC
f44dd6f Merge pull request #24206 from Microsoft/documentRegistery Cache the latest source file from document registery in script info so that we do not have to reparse orphan script info 22 May 2018, 19:11:16 UTC
e8a0e56 Add a test when orphan file changes before it gets added back to project 22 May 2018, 18:45:52 UTC
bedc110 Merge pull request #24311 from amcasey/GH23287 Preserve jsx imports even when the compiler option is not set 22 May 2018, 18:23:15 UTC
66590a9 Verify ref counts are set correctly when reusing the source file from script info cache 22 May 2018, 18:18:40 UTC
7106a58 Add type for diagnostics where location is defined (#23686) * Add type for diagnostics where location is defined * getSemanticDiagnostics may return global diagnostics * Reduce array creation 22 May 2018, 18:01:18 UTC
7fb3123 Merge pull request #24298 from Microsoft/noErrOnBackgroundUpdate Add noGetErrOnBackgroundUpdate session option to not queue diagnostics check for open files 22 May 2018, 17:56:18 UTC
2e0cc63 Check TransformFlags.ContainsJsx, rather than LanguageVariant.JSX 22 May 2018, 17:51:19 UTC
a5029e3 Merge pull request #23794 from Microsoft/fixDiscriminatedContextualType Fix discriminant checking in contextual types 22 May 2018, 17:35:29 UTC
9d57903 Merge pull request #24312 from Kingwl/multiline-type-literal-formatter fix wrong formatting with multiline type literals with IntersectionTy… 22 May 2018, 17:06:24 UTC
a8715d0 Update user baselines (#24289) 22 May 2018, 16:52:58 UTC
5e5c5a7 Merge pull request #24139 from minestarks/dynamicprojectassert Normalize ProjectService.currentDirectory 22 May 2018, 16:04:45 UTC
982c8d0 Add suggestion diagnostics for unused label and unreachable code (#24261) * Add suggestion diagnostics for unused label and unreachable code * Always error on unused left hand side of comma 22 May 2018, 14:56:29 UTC
f52c4af Merge pull request #24310 from Microsoft/nonWideningLiteralInferences Non-widening literal type inferences 22 May 2018, 13:56:34 UTC
4b47c0c fix wrong formatting with multiline type literals with IntersectionType and UnionType 22 May 2018, 06:01:04 UTC
0b18bdf Added tests 22 May 2018, 01:22:13 UTC
a9e89ce Merge pull request #24180 from Microsoft/updateVersion Update version 22 May 2018, 00:18:39 UTC
edd31a1 Preserver jsx imports even when the compiler option is not set ...based on feedback from VS Code users. Fixes #23287 21 May 2018, 23:57:18 UTC
b31c414 Accept new baselines 21 May 2018, 23:44:03 UTC
9d4096f Add tests 21 May 2018, 23:43:55 UTC
5bbadb6 Accept new baselines 21 May 2018, 23:43:46 UTC
8528dbe Handle union types in getRegularTypeOfLiteralType 21 May 2018, 23:17:56 UTC
8995126 Update LKG 21 May 2018, 23:15:57 UTC
b127090 Merge branch 'master' into release-2.9 21 May 2018, 23:13:49 UTC
802dc2b fixUnusedIdentifier: If every VariableDeclaration is unused, remove the VariableStatement (#24231) 21 May 2018, 22:54:33 UTC
c8ac085 Infer non-widening literal types when type parameter constraint includes primitive types 21 May 2018, 22:28:51 UTC
f1acbc9 Add noGetErrOnBackgroundUpdate session option to not queue diagnostics check for open files This will ensure that the getErr will be queued in by host and hence would make sure that it is cancellable. Handles one of the scenario delaying completions in #19458 21 May 2018, 19:53:31 UTC
8e7b876 Update LKG 21 May 2018, 19:42:58 UTC
c244e5a Merge branch 'master' into release-2.9 21 May 2018, 19:40:47 UTC
d2f6f6a Merge pull request #24296 from Microsoft/npmPackageSize Remove unneeded files from npm package 21 May 2018, 19:35:00 UTC
e4c380a Merge branch 'master' into documentRegistery 21 May 2018, 19:27:12 UTC
5abe4fe builf lib.es2018.full.d.ts 21 May 2018, 18:01:56 UTC
85dcfec Update LKG 21 May 2018, 18:01:35 UTC
7016dfd Remove .js.map and .d.ts files added in #23844 21 May 2018, 17:51:08 UTC
440291e Fix bug: Get merged module symbol in forEachExternalModule (#24295) 21 May 2018, 17:48:50 UTC
7c86c7a update .npmignore 21 May 2018, 17:41:09 UTC
c09cc70 Fix bug: VariableDeclaration initializer may be undefined (#24256) 21 May 2018, 14:58:33 UTC
153c180 Merge pull request #24271 from Microsoft/portRegExpDotAllFix Port changes in #24238 to source file 19 May 2018, 18:44:58 UTC
8f6e648 Merge pull request #24265 from Microsoft/quoteTypeof Use single quotes around 'typeof' in message. 19 May 2018, 18:31:41 UTC
c19408b Port changes in #24238 to source file 19 May 2018, 18:23:41 UTC
175d721 LEGO: Merge pull request 24270 LEGO: Merge pull request 24270 19 May 2018, 16:10:48 UTC
956d82a LEGO: check in for master to temporary branch. 19 May 2018, 16:10:26 UTC
3563a05 Use single quotes around 'typeof' in message. 19 May 2018, 06:44:38 UTC
6103f9f LEGO: Merge pull request 24263 LEGO: Merge pull request 24263 19 May 2018, 04:10:43 UTC
e6c62b9 LEGO: check in for master to temporary branch. 19 May 2018, 04:10:20 UTC
02fe840 Get constraint with this argument of the type parameter for comparisons (#21210) * Get constraint with this argument of the type parameter for comparisons * Also instantiate indexed accesses * Add much simpler test 19 May 2018, 01:30:23 UTC
0f7f978 Fixed test regression, removed nodeContentIsAlwaysIndented 19 May 2018, 00:07:58 UTC
4c22bf7 getEditsForFileRename: Do fresh module resolution instead of relying on cache (#24211) * getEditsForFileRename: Do fresh module resolution instead of relying on cache * Add host.resolveModuleNameWithFailedLookupLocations method * Make host.resolveModuleNameWithFailedLookupLocations mandatory, and implement for Project * Add test, and no need to check host.fileExists * Change method name and always use cache * Update name in string 18 May 2018, 23:42:42 UTC
1146c69 Fix issue with formatting object literal csharp style 18 May 2018, 23:33:55 UTC
3eb66da Add code fix to remove unused label (#24037) * Add code fix to remove unused label * Test with trivia and fix indentation with dedented label 18 May 2018, 22:25:24 UTC
1df7997 getJSDocTypeParameterDeclarations: Avoid unnecessary array (#24257) 18 May 2018, 20:53:27 UTC
04a3512 Merge pull request #24237 from amcasey/GH23640 Sort exports when organizeImports is run 18 May 2018, 20:39:24 UTC
3bb9ccf Merge pull request #24234 from Microsoft/unusedIdentifierCorrectFile Unused variable error reporting needs to handle nodes that could not belong to current source file 18 May 2018, 20:25:19 UTC
7f0258b getJSDocHost always returns a defined result (#24255) 18 May 2018, 20:20:13 UTC
8f662a9 Extract sorting helper 18 May 2018, 19:53:28 UTC
f7c6b46 Update LKG 18 May 2018, 19:41:13 UTC
ac0e86c Merge branch 'master' into release-2.9 18 May 2018, 19:40:58 UTC
d60866a Merge pull request #24236 from Kingwl/quick-fix-for-import-type simply quick fix for import type missing typeof 18 May 2018, 18:34:54 UTC
9e19567 Update user baselines (#24247) 18 May 2018, 18:23:27 UTC
2e183f5 Merge pull request #24238 from bluelovers/patch-1 es2018 regexp dotAll 18 May 2018, 18:14:29 UTC
43e1edf Eliminate runtime type check 18 May 2018, 17:54:40 UTC
7fcf1fd Delete redundant tests 18 May 2018, 17:49:10 UTC
76573c6 getEffectiveTypeParameterDeclarations: Always return a defined result (#24251) 18 May 2018, 17:17:35 UTC
89059f0 Some RWC tests had dupes in their input/outher files list because paths werent both resolved (#24235) 18 May 2018, 15:46:50 UTC
8c2ed97 Merge pull request #24187 from Kingwl/disallow-in-function-like-initializer disallow acesssor generate in function like initializer 18 May 2018, 02:41:01 UTC
dff19a5 es2018 regexp dotAll 18 May 2018, 02:07:46 UTC
45c06cf only allow refactor if selected span overlaps name declaration 18 May 2018, 02:07:45 UTC
a327241 Sort exports when organizeImports is run Note that there's no attempt to remove unused exports. Fixes #23640 18 May 2018, 01:38:42 UTC
4998961 simply quick fix for import type missing typeof 18 May 2018, 01:34:14 UTC
52e8c2d Unused variable error reporting needs to handle nodes that could not belong to current source file Eg. when resolving module, the another file gets checked and its locals are added to potentiallyUnused list Fixes #24215 17 May 2018, 23:27:08 UTC
5fdde50 Merge master into release-2.9 (#24228) * Optimize intersections of unions of unit types * Add regression test * Accept new baselines * LEGO: check in for master to temporary branch. * Add Unicode ThirdPartyNotice * Properly handle edge cases * Sort the whole diagnostic, plus giving up on isolating tests (#24186) * Sort the whole diagnostic * Also strip references to our repos node_modules, since removing it is hard * LEGO: check in for master to temporary branch. * add quick fix for import type missing typeof * Add callback tag, with type parameters (#23947) * Add initial tests * Add types * Half of parsing (builds but does not pass tests) * Parsing done; types are uglier; doesn't crash but doesn't pass * Bind callback tag Builds but tests still don't pass * Only bind param tags inside callback tags * Fix binding switch to only handle param tags once * Checking is 1/3 done or so. Now I'm going to go rename some members to be more uniform. I hate unnnecessary conditionals. * Rename typeExpression to type (for some jsdoc) (maybe I'll rename more later) * Rename the rest of typeExpressions Turns out there is a constraint in services such that they all need to be named the same. * Few more checker changes * Revert "Rename the rest of typeExpressions" This reverts commit f41a96b24d44a6b696d39eee9e91ef7f606bea52. * Revert "Rename typeExpression to type (for some jsdoc)" This reverts commit 7d2233a00e5c6d794c1de32c03802e8ccce1914c. * Finish undoing typeExpression rename * Rename and improve getTypeParametersForAliasSymbol Plus some other small fixes * Core checking works, but is flabbergastingly messy I'm serious. * Callback return types work now * Fix crash in services * Make github diff smaller * Try to make github diff even smaller * Fix rename for callback tag * Fix nav bar for callback tag Also clean up some now-redundant code there to find the name of typedefs. * Handle ooorder callback tags Also get rid of redundant typedef name code *in the binder*. It's everywhere! * Add ooorder callback tag test * Parse comments for typedef/callback+display param comments * Always export callbacks This requires almost no new code since it is basically the same as typedefs * Update baselines * Fix support for nested namespaced callbacks And add test * Callbacks support type parameters 1. Haven't run it with all tests 2. Haven't tested typedef tags yet 3. Still allows shared symbols when on function or class declarations. * Template tags are now bound correctly * Test oorder template tags It works. * Parser cleanup * Cleanup types and utilities As much as possible, and not as much as I would like. * Handle callback more often in services * Cleanup of binder and checker * More checker cleanup * Remove TODOs and one more cleanup * Support parameter-less callback tags * Remove extra bind call on template type parameters * Bind template tag containers Doesn't quite work with typedefs, but that's because it's now stricter, without the typedef fixes. I'm going to merge with jsdoc/callback and see how it goes. * Fix fourslash failures * Stop pre-binding js type aliases Next up, stop pre-binding js type parameters * Further cleanup of delayed js type alias binding * Stop prebinding template tags too This gets rid of prebinding entirely * Remove TODO * Fix lint * Finish merge with use-jsdoc-aliases * Update callback tag baselines * Rename getTypeParametersForAliasSymbol The real fix is *probably* to rename Type.aliasTypeArguments to aliasTypeParameters, but I want to make sure and then put it in a separate PR. * moveToNewFile: Don't move imports (#24177) * Reduce map lookups (#24203) * Fix jsdoc type resolution [merge to master] (#24204) * Fix JSDoc type resolution Breaks type parameter resolution that is looked up through prototype methods, though. I need to fix that still. * Check for prototype method assignments first * Undo dedupe changes to getJSDocTags * JS Type aliases can't refer to host type params Previously, js type aliases (@typedef and @callback) could refer to type paremeters defined in @template tags in a *different* jsdoc tag, as long as both tags were hosted on the same signature. * Reduce dedupe changes+update baseline The only reason I had undone them was to merge successfully with an older state of master. * Add undefined guard * moveToNewFile: Fix bug for VariableDeclaration missing initializer (#24214) * Use import types to refer to declarations in declaration emit (#24071) * Stand up a simple implementation using import types for exports of modules which are otherwise inaccessible * Ensure references exist to link to modules containing utilized ambient modules * Accept baselines with new import type usage * Fix lint * Accept changed baseline (#24222) * fixUnusedIdentifier: Don't delete node whose ancestor was already deleted (#24207) * More robust circularity detection in node builder (#24225) * Improve ChangeTracker#deleteNodeInList (#24221) * moveToNewFile: Fix bug for missing importClause (#24224) * Set startPos at EOF in jsdoc token scanner so node end positions for nodes terminated at EoF are right (#24184) * Set startPos at EOF in jsdoc token scanner to node end positions for nodes terminated at EoF are right * More complete nonwhitespace token check, fix syntactica jsdoc classifier * Use loop and no nested lookahead * Do thigns unrelated to the bug in the test * Fix typo move return * Patch up typedef end pos * Fix indentation, make end pos target more obvious 17 May 2018, 22:40:49 UTC
66d6e5e Remove leveldown, stip absolute paths from test mk 2, accept reordered and new user baselines (#24227) 17 May 2018, 22:32:10 UTC
d82d35c Set startPos at EOF in jsdoc token scanner so node end positions for nodes terminated at EoF are right (#24184) * Set startPos at EOF in jsdoc token scanner to node end positions for nodes terminated at EoF are right * More complete nonwhitespace token check, fix syntactica jsdoc classifier * Use loop and no nested lookahead * Do thigns unrelated to the bug in the test * Fix typo move return * Patch up typedef end pos * Fix indentation, make end pos target more obvious 17 May 2018, 22:16:18 UTC
d579793 moveToNewFile: Fix bug for missing importClause (#24224) 17 May 2018, 21:32:12 UTC
75ab60f Improve ChangeTracker#deleteNodeInList (#24221) 17 May 2018, 21:31:58 UTC
back to top