6200aa0 | Anders Hejlsberg | 14 September 2018, 21:07:22 UTC | Add test | 14 September 2018, 21:07:22 UTC |
359f2eb | Anders Hejlsberg | 14 September 2018, 17:48:51 UTC | Accept new baselines | 14 September 2018, 17:48:51 UTC |
524b7c9 | Anders Hejlsberg | 14 September 2018, 17:47:29 UTC | Fix resulting issues in compiler | 14 September 2018, 17:47:29 UTC |
332b8f2 | Anders Hejlsberg | 14 September 2018, 17:47:13 UTC | Make && operator properly reflect falsy types from constraints | 14 September 2018, 17:47:13 UTC |
932e14e | Daniel Rosenwasser | 13 September 2018, 08:45:55 UTC | Merge pull request #27064 from Microsoft/makeFileLevelOptimisticUniqueName makeFileLevelOptmiisticUniqueName -> makeFileLevelOptimisticUniqueName | 13 September 2018, 08:45:55 UTC |
ea7ff15 | Daniel Rosenwasser | 13 September 2018, 00:51:57 UTC | makeFileLevelOptmiisticUniqueName -> makeFileLevelOptimisticUniqueName | 13 September 2018, 00:51:57 UTC |
2b888c3 | Andy | 13 September 2018, 00:44:06 UTC | Consistently pass indent to 'parseTagComments' (#27055) * Consistently pass indent to 'parseTagComments' * Update baselines | 13 September 2018, 00:44:06 UTC |
d3463ce | Wesley Wigham | 13 September 2018, 00:16:34 UTC | Avoid circularly resolving names when looking up type members using resolveName (#26924) * Avoid circularly resolving names when looking up type members using resolveName * Add comment | 13 September 2018, 00:16:34 UTC |
614423b | Nathan Shively-Sanders | 12 September 2018, 23:21:17 UTC | Fix this-type in prototype-assigned object literals (#26925) * Fix this-type in prototype-assigned object literals Some cases were missing from tryGetThisTypeAt. Fixes #26831 * Lookup this in JS only for @constructor+prototype assignments | 12 September 2018, 23:21:17 UTC |
2f8a646 | Nathan Shively-Sanders | 12 September 2018, 19:21:50 UTC | isExpandoFunctionDeclaration only checks values (#27052) Previously it checked types too, which caused a crash because types don't have valueDeclaration set. But expando functions can't export types, only values. | 12 September 2018, 19:21:50 UTC |
6bd1da2 | Nathan Shively-Sanders | 12 September 2018, 17:44:46 UTC | Rename JS-specific concepts (#26795) * Rename JS concepts 1. Assignment declaration -- an assignment that is treated like a declaration. Previously called [JS] special (assignment|declaration), among other things. 2. Expando -- a value that can be used as a target in assignment declarations. Currently, a class, function or empty object literal. Functions are allowed in Typescript, too. Previously called a JS container, JS initializer or expando object. 3. JavaScript -> Javascript. This is annoying to type, and looks like 'Java Script' in a camelCase world. Everything is a pure rename as far as I know. The only test change is the API baselines, which reflect the rename from SymbolFlags.JSContainer to SymbolFlags.Assignment. * Remove TODO * Rename Javascript->JS Note that this introduces a variable name collision in a couple of places, which I resolved like this: ```ts const isInJavascript = isInJSFile(node); ``` | 12 September 2018, 17:44:46 UTC |
371ffff | TypeScript Bot | 12 September 2018, 17:17:26 UTC | Update user baselines (#27048) | 12 September 2018, 17:17:26 UTC |
5a26747 | Ryan Cavanaugh | 12 September 2018, 15:32:14 UTC | Merge pull request #27004 from RyanCavanaugh/noJsNewModuleCompletions Don't offer module completions in non-module JS files | 12 September 2018, 15:32:14 UTC |
f2a1a42 | Ron Buckton | 11 September 2018, 21:45:39 UTC | Merge pull request #27035 from Microsoft/fixTypesVersionTests Sanitize module resolution logs for typesVersions entries | 11 September 2018, 21:45:39 UTC |
31374d2 | Wesley Wigham | 11 September 2018, 21:42:17 UTC | Provide suggestions for common can-not-find-name errors (#27034) | 11 September 2018, 21:42:17 UTC |
5d79704 | Ron Buckton | 11 September 2018, 21:19:28 UTC | Sanitize module resolution logs for typesVersions entries | 11 September 2018, 21:19:28 UTC |
1c13792 | Wesley Wigham | 11 September 2018, 21:11:31 UTC | Prefer elaborating on expressions which could be called to produce a correct type by suggesting such (#27016) * Prefer elaborating on expressions which could be called to produce a correct type by suggesting such * Pass relation through elaboration machinery | 11 September 2018, 21:11:31 UTC |
aa9230f | Daniel Rosenwasser | 11 September 2018, 21:00:31 UTC | Merge pull request #27020 from Kingwl/improve_accidentally_calling_type-assertion_expressions improve Diagnostics for accidentally calling type-assertion expressions | 11 September 2018, 21:00:31 UTC |
e1daa47 | Sheetal Nandi | 11 September 2018, 18:33:37 UTC | Merge pull request #26983 from Tyriar/26850_invert_gutter Invert gutter instead of setting colors | 11 September 2018, 18:33:37 UTC |
08c970a | Sheetal Nandi | 11 September 2018, 18:25:29 UTC | Merge pull request #26865 from chrissantos1995/bugs/fix-empty-files-diagnostics Fix empty files diagnostics reporting | 11 September 2018, 18:25:29 UTC |
2cf2bbd | 王文璐 | 11 September 2018, 08:20:38 UTC | improve test case and add related diagnostic | 11 September 2018, 08:20:38 UTC |
ba8595b | Ron Buckton | 11 September 2018, 08:07:43 UTC | Merge pull request #27021 from ajafff/fix-functiontype-emit Fix FunctionType emit when only parameter has no type | 11 September 2018, 08:07:43 UTC |
66a401a | Klaus Meinhardt | 11 September 2018, 07:39:11 UTC | Fix FunctionType emit when only parameter has no type Fixes: #27018 | 11 September 2018, 07:39:11 UTC |
6b2ea46 | 王文璐 | 11 September 2018, 06:35:01 UTC | improve Diagnostics for accidentally calling type-assertion expressions | 11 September 2018, 06:35:01 UTC |
e9c6d96 | Wesley Wigham | 10 September 2018, 23:40:33 UTC | Add related span pointing at missing arguments (#27013) | 10 September 2018, 23:40:33 UTC |
78c8003 | TypeScript Bot | 10 September 2018, 20:22:30 UTC | Update user baselines (#27000) | 10 September 2018, 20:22:30 UTC |
24a5bdd | Andy | 10 September 2018, 18:25:03 UTC | Add 'fileToRename' property to RenameInfo (#24702) * Add 'fileToRename' property to RenameInfo * Update tests * Support directory rename | 10 September 2018, 18:25:03 UTC |
95ba73e | Ryan Cavanaugh | 10 September 2018, 17:37:44 UTC | Don't offer module completions in non-module JS files | 10 September 2018, 18:24:51 UTC |
745f5be | Daniel Imms | 08 September 2018, 20:12:09 UTC | Invert gutter instead of setting colors Fixes #26850 | 08 September 2018, 20:26:14 UTC |
16477b6 | christian | 08 September 2018, 04:06:07 UTC | Take into account undefined nodeValue when recording diagnostic | 08 September 2018, 04:06:07 UTC |
af8e44a | Ron Buckton | 07 September 2018, 22:40:50 UTC | Merge pull request #26568 from Microsoft/typesVersions Adds support for "typesVersions" redirects | 07 September 2018, 22:40:50 UTC |
a255d9a | Ron Buckton | 07 September 2018, 20:52:12 UTC | Merge branch 'master' into typesVersions | 07 September 2018, 20:52:12 UTC |
cbde861 | Andy | 07 September 2018, 19:23:23 UTC | Improve use of SemanticMeaning in symbol display (#26953) | 07 September 2018, 19:23:23 UTC |
b1430e5 | Andy | 07 September 2018, 19:18:03 UTC | Avoid adding duplicate completion from contextual keyword (#26947) | 07 September 2018, 19:18:03 UTC |
f8b6a8f | Wesley Wigham | 07 September 2018, 19:09:07 UTC | Introduce literal freshness for literal enum member types (#26556) * Introduce literal freshness for literal enum members, allow enum references in ambient const initializers * Merge statements * Add enum literal readonly property test case * Accept better baselines post-merge | 07 September 2018, 19:09:07 UTC |
cf2f339 | Daniel Rosenwasser | 07 September 2018, 07:06:11 UTC | Merge pull request #26895 from Microsoft/callableErrors Find first callable/constructable type in union when appropriate | 07 September 2018, 07:06:11 UTC |
ec72f47 | christian | 07 September 2018, 00:40:02 UTC | Add location info to empty lists diagnostics when tsconfig file exists | 07 September 2018, 00:40:02 UTC |
d31973b | Andy | 07 September 2018, 00:06:50 UTC | findAllReferences: Consistently use 'this' parameter as definition site (#26950) | 07 September 2018, 00:06:50 UTC |
c401d63 | Andy | 06 September 2018, 22:24:07 UTC | findAllReferences: Fix declarationIsWriteAccess for PropertyAssignment in destructuring (#26949) | 06 September 2018, 22:24:07 UTC |
a0ebbfb | Andy | 06 September 2018, 21:15:12 UTC | Fix JSX completions after boolean property (#26943) | 06 September 2018, 21:15:12 UTC |
6fb0f68 | Sheetal Nandi | 06 September 2018, 21:13:26 UTC | Merge pull request #26944 from Microsoft/casingOfTypeReferenceDirectives Lowercase type reference directives when determining to reuse program structure (just like when we create new program) | 06 September 2018, 21:13:26 UTC |
88d5b04 | Sheetal Nandi | 06 September 2018, 20:26:44 UTC | Lowercase type reference directives when determining to reuse program structure (just like when we create new program) | 06 September 2018, 20:26:44 UTC |
8f654f0 | Ryan Cavanaugh | 06 September 2018, 17:46:13 UTC | Merge pull request #21957 from jack-williams/typeof-in-switch Fix #2214. Support narrowing with typeof in switch condition. | 06 September 2018, 17:46:13 UTC |
8c22770 | Andy | 06 September 2018, 17:44:32 UTC | Improve 'isWriteAccess' for findAllReferences (#26889) | 06 September 2018, 17:44:32 UTC |
ddba6d8 | Sheetal Nandi | 06 September 2018, 16:57:47 UTC | Merge pull request #26825 from Microsoft/resolveJsonModuleEmit Support json module emit when module emit is commonjs, amd, es2015 or esnext | 06 September 2018, 16:57:47 UTC |
8b30ff8 | Sheetal Nandi | 06 September 2018, 16:49:53 UTC | Merge pull request #26817 from Microsoft/resolvingJsonModuleLikeJsExportsEqual Use widened type and non fresh type when resolving json module | 06 September 2018, 16:49:53 UTC |
7fe0f9d | Mine Starks | 06 September 2018, 15:59:43 UTC | Merge pull request #26793 from minestarks/parentDirFix Fix incorrect path computation of typesMap.json | 06 September 2018, 15:59:43 UTC |
3173cfe | Jack Williams | 06 September 2018, 08:45:22 UTC | Update narrowing baseline | 06 September 2018, 08:45:22 UTC |
911c59f | Jack Williams | 06 September 2018, 08:33:01 UTC | Merge branch 'master' into typeof-in-switch | 06 September 2018, 08:33:01 UTC |
d8f736d | Wesley Wigham | 06 September 2018, 07:41:09 UTC | Change `typeof` narrowing to narrow selected union members (#25243) * For typeof narrow all union members prior to filtering * Revise narrowTypeByTypeof to both narrow unions and applicable union members * Add repros from issue | 06 September 2018, 07:41:09 UTC |
c62920a | Ryan Cavanaugh | 06 September 2018, 05:02:51 UTC | Merge pull request #26392 from mattmccutchen/declare-module-advice Fixes to the advice for untyped module imports from unknown packages. | 06 September 2018, 05:02:51 UTC |
ea984d7 | christian | 06 September 2018, 03:18:39 UTC | Centralize diagnostic reporting for empty files diagnostic | 06 September 2018, 03:18:39 UTC |
cfc6d35 | Ryan Cavanaugh | 06 September 2018, 00:43:52 UTC | Merge pull request #26589 from Microsoft/deduplicate_overloads Remove unused overloads of 'deduplicate' and 'deduplicateSorted' | 06 September 2018, 00:43:52 UTC |
54f7666 | Ryan Cavanaugh | 06 September 2018, 00:43:21 UTC | Merge pull request #26453 from ajafff/abstract-property-in-initializer disallow abstract property access in property initializer | 06 September 2018, 00:43:21 UTC |
270ea77 | Ryan Cavanaugh | 06 September 2018, 00:42:33 UTC | Merge pull request #26308 from ajafff/checkresolvedmodule unittests/moduleResolution: actually assert in checkResolvedModule | 06 September 2018, 00:42:33 UTC |
ed70d48 | Ryan Cavanaugh | 06 September 2018, 00:15:52 UTC | Merge pull request #25633 from Kingwl/strictParameter add use strict and simple parameter check | 06 September 2018, 00:15:52 UTC |
ddedfd4 | TypeScript Bot | 05 September 2018, 22:22:39 UTC | Update user baselines (#26903) | 05 September 2018, 22:22:39 UTC |
d067376 | Daniel Rosenwasser | 05 September 2018, 22:12:23 UTC | Accepted baselines. | 05 September 2018, 22:12:23 UTC |
d989e10 | Daniel Rosenwasser | 05 September 2018, 18:50:47 UTC | Renamed test. | 05 September 2018, 22:11:48 UTC |
0b1183a | Wesley Wigham | 05 September 2018, 21:52:47 UTC | Allow isSymbolAccessible to paint object literal declarations as visible (#24668) * Dont use resolveEntityName for computed property name symbol resolution - use checkExpression and resolvedSymbol instead * Fix lint | 05 September 2018, 21:52:47 UTC |
69c7e67 | Wesley Wigham | 05 September 2018, 20:49:38 UTC | Check privateness when emittign readonly/const props (#26920) | 05 September 2018, 20:49:38 UTC |
1e2fb9f | Ryan Cavanaugh | 05 September 2018, 19:38:09 UTC | Merge pull request #26465 from rnathanday/master include leading non-ASCII horizontal whitespace | 05 September 2018, 19:38:09 UTC |
695aae7 | Anders Hejlsberg | 05 September 2018, 19:33:54 UTC | Merge pull request #26848 from Microsoft/deferUnionIntersectionReduction Defer union and intersection type reduction | 05 September 2018, 19:33:54 UTC |
f79e645 | Ryan Cavanaugh | 05 September 2018, 19:32:56 UTC | Merge pull request #26870 from ajafff/composite-files-check better condition for file include exhaustiveness check | 05 September 2018, 19:32:56 UTC |
69f91b5 | Ryan Cavanaugh | 05 September 2018, 19:22:48 UTC | Merge pull request #26837 from mattmccutchen/issue-26835 Argument arity error should only consider signatures with correct type argument arity. | 05 September 2018, 19:22:48 UTC |
4717ddb | Ryan Cavanaugh | 05 September 2018, 19:16:24 UTC | Merge pull request #26828 from Microsoft/narrowUnknownByObject Narrowing unknown by typeof object to object | null | 05 September 2018, 19:16:24 UTC |
6465e9d | Ryan Cavanaugh | 05 September 2018, 19:10:46 UTC | Merge pull request #26292 from Kingwl/tupleIndexAccessCheck check index access for fixed length tuple | 05 September 2018, 19:10:46 UTC |
c188864 | Ryan Cavanaugh | 05 September 2018, 18:55:42 UTC | Merge pull request #26112 from rhys-vdw/22685-array-flat-fix Fix issue with Array#flatMap callback return type | 05 September 2018, 18:55:42 UTC |
d265fbf | Ryan Cavanaugh | 05 September 2018, 18:49:57 UTC | Merge pull request #26192 from ajafff/createprogram-nochecker createProgram: don't use TypeChecker | 05 September 2018, 18:49:57 UTC |
5d65e86 | Ryan Cavanaugh | 05 September 2018, 18:49:13 UTC | Merge pull request #23253 from Kingwl/definite-assignment-assertion-improve improve parser and error message if definite assignment assertions in… | 05 September 2018, 18:49:13 UTC |
4975dc8 | Ryan Cavanaugh | 05 September 2018, 18:46:07 UTC | Merge pull request #25822 from Kingwl/rechabilityImprove improve enum rechability check | 05 September 2018, 18:46:07 UTC |
1eb3082 | Andy | 05 September 2018, 18:34:27 UTC | Support completions inside JSDoc before EndOfFileToken (#25568) | 05 September 2018, 18:34:27 UTC |
62d8b85 | Wesley Wigham | 05 September 2018, 18:30:05 UTC | Allow literal initializers of readonly properties in declaration files (#26313) * Allow literal initializers of readonly properties in declaration files * Move some conditions a bit | 05 September 2018, 18:30:05 UTC |
e726e4c | Ron Buckton | 05 September 2018, 18:23:39 UTC | PR Feedback | 05 September 2018, 18:23:39 UTC |
bcb815b | Andy | 05 September 2018, 18:19:56 UTC | Remove duplicate function createTextRange (#23346) * Remove duplicate function createTextRange * Always allow end=-1 * Put noAssert back, pending #23370 * Use getRangeUnion helper * Update API (#24966) | 05 September 2018, 18:19:56 UTC |
0677496 | Andy | 05 September 2018, 18:19:32 UTC | Properly handle JS enum symbols (#26893) | 05 September 2018, 18:19:32 UTC |
ff05082 | Nathan Shively-Sanders | 05 September 2018, 17:53:43 UTC | Bind non-expando property assignments at top-level (#26908) * Bind non-expando property assignments at toplevel Previously, only property assignments with expando initialisers were bound in top-level statements. Now, all property assignments are bound. This requires a matching change in the checker to make sure that these assignments remain context sensitive if their valueDeclaration is a 'real' declaration (ie a non assignment-declaration). * Add baselines for new test | 05 September 2018, 17:53:43 UTC |
6e31889 | TypeScript Bot | 05 September 2018, 17:04:34 UTC | Update user baselines (#26888) | 05 September 2018, 17:04:34 UTC |
cd399fb | Daniel Rosenwasser | 05 September 2018, 02:26:00 UTC | Accepted baselines. | 05 September 2018, 02:26:00 UTC |
c5c594f | Daniel Rosenwasser | 05 September 2018, 02:25:46 UTC | Try finding the first type with a call/construct signature when relating to unions. | 05 September 2018, 02:25:46 UTC |
4ac8976 | Wesley Wigham | 04 September 2018, 23:00:28 UTC | Always check index type validity for all types when an error node is present so we always issue an error (#26789) * Always check index type validity for all types when an error node is present so we always issue an error * Change type a bit | 04 September 2018, 23:00:28 UTC |
ca66241 | Wesley Wigham | 04 September 2018, 23:00:10 UTC | Dont consider export specifiers visible in their local scope (#26884) | 04 September 2018, 23:00:10 UTC |
f1370ec | Wesley Wigham | 04 September 2018, 22:58:18 UTC | Allow special assignments to have a contextual type of their declared type if present (#26802) * Allow special assignments to have a contextual type of their declared type if present * Expand change to cover all js special assignments * Remove extraneous line | 04 September 2018, 22:58:18 UTC |
289ae3c | Daniel Rosenwasser | 04 September 2018, 22:47:04 UTC | Accepted baseleines. | 04 September 2018, 22:47:04 UTC |
262ea5b | Tim Schaub | 04 September 2018, 22:41:08 UTC | Skip asterisks after newline when parsing JSDoc types (#26528) * Skip asterisks after newline when parsing JSDoc types * Single boolean expression * Test for parsing and printing multiline function signatures with * | 04 September 2018, 22:41:08 UTC |
64ac5a5 | Nathan Shively-Sanders | 04 September 2018, 21:47:18 UTC | Fixes for type parameter name resolution in JS (#26830) * check for expando initializers in resolveEntityName when resolving type parameters in a prototype property assignment declaration. For example, this already works: ```js /** @template T */ function f(x) { this.x = x } /** @returns {T} */ f.protototype.m = function () { return this.x } ``` This now works too: ```js /** @template T */ var f = function (x) { this.x = x } /** @returns {T} */ f.prototype.m = function () { return this.x } ``` Fixes #26826 * Lookup type parameters on prototype-assignment methods In the same way that they're looked up on prototype-property methods. That is, this previously worked: ```js /** @template T */ function f() { } /** @param {T} p */ f.prototype.m = function () { } ``` And this now works too: ```js /** @template T */ function f() { } f.prototype = { /** @param {T} p */ m() { } } ``` Note that the baselines still have errors; I'll file a followup bug for them. * Look up types on property assignments too | 04 September 2018, 21:47:18 UTC |
0ac3a0a | TypeScript Bot | 04 September 2018, 18:31:30 UTC | Update user baselines (#26861) | 04 September 2018, 18:31:30 UTC |
3d812ef | Daniel Rosenwasser | 04 September 2018, 18:07:50 UTC | Added test. | 04 September 2018, 18:07:50 UTC |
540e8b9 | Nathan Shively-Sanders | 04 September 2018, 16:29:19 UTC | Collect jsdoc tags for type parameters (#26824) Before the template tag, there was no reason to do this, but now you can add JSDoc for type parameters in Typescript. | 04 September 2018, 16:29:19 UTC |
239a7b9 | Klaus Meinhardt | 04 September 2018, 11:35:57 UTC | better condition for file include exhaustiveness check As `files` always contains declaration files of external libraries, lib files and declaration files from typeRoots, the previous condition evaluated to false for probably all projects out there. This changes the condition to compare array length after filtering out all declaration files. That avoids unnecessary work of path normalization in the common case where everything is ok. | 04 September 2018, 11:35:57 UTC |
959dbbb | christian | 04 September 2018, 03:16:53 UTC | Add newline to bottom of tsconfig files | 04 September 2018, 03:16:53 UTC |
c87ca2f | christian | 04 September 2018, 02:57:26 UTC | Fix diagnostic reporting for empty files in tsconfig | 04 September 2018, 02:57:26 UTC |
d9e0d6b | Anders Hejlsberg | 02 September 2018, 15:58:32 UTC | Accept new baselines | 02 September 2018, 15:58:32 UTC |
059fcc9 | Anders Hejlsberg | 02 September 2018, 15:58:00 UTC | Defer reduction of identical function types in unions and intersections | 02 September 2018, 15:58:00 UTC |
f2d26fd | Matt McCutchen | 01 September 2018, 23:48:47 UTC | Argument arity error should only consider signatures with correct type argument arity. Fixes #26835. | 01 September 2018, 23:48:47 UTC |
4510149 | Sheetal Nandi | 31 August 2018, 22:26:03 UTC | Merge pull request #26782 from Microsoft/reportFileChangeDetectedOnce Report file change detected only once when save takes place multipletimes before timeout | 31 August 2018, 22:26:03 UTC |
f1a179a | Sheetal Nandi | 31 August 2018, 22:24:53 UTC | Narrowing unknown by typeof object to object | null Fixes #26327 | 31 August 2018, 22:24:53 UTC |
e41dbcd | Sheetal Nandi | 31 August 2018, 20:05:52 UTC | Support json module emit when module emit is commonjs, amd, es2015 or esnext Fixes #25755 and #26020 | 31 August 2018, 21:05:14 UTC |
9eb0c9a | Sheetal Nandi | 14 August 2018, 20:24:39 UTC | Use widened type (just like importing using module.exports = in js file) Fixes #26429 | 31 August 2018, 21:04:30 UTC |
50ccd91 | Sheetal Nandi | 13 August 2018, 23:21:37 UTC | Baseline the require of json file in js file | 31 August 2018, 21:04:30 UTC |