d6dac6a | Kanchalai Tanglertsampan | 25 August 2016, 23:23:32 UTC | Update LKG 08/25 | 25 August 2016, 23:23:32 UTC |
3ed8bca | Kanchalai Tanglertsampan | 25 August 2016, 23:15:30 UTC | Merge branch 'master' into release-2.0 | 25 August 2016, 23:15:30 UTC |
0041d5c | Nathan Shively-Sanders | 25 August 2016, 23:14:13 UTC | Merge pull request #10538 from Microsoft/find-declarations-of-js-module-export Fix crash when checking module exports for export= | 25 August 2016, 23:14:13 UTC |
8d5aaf8 | Zhengbo Li | 25 August 2016, 21:26:58 UTC | avoid creating syntax nodes for jsdoc comment tags (#10526) | 25 August 2016, 21:26:58 UTC |
6ee749f | Nathan Shively-Sanders | 25 August 2016, 18:02:26 UTC | Get rid of absolute paths | 25 August 2016, 18:02:26 UTC |
751b0a6 | Nathan Shively-Sanders | 25 August 2016, 17:25:17 UTC | Clean up maxNodeModuleJsDepth test | 25 August 2016, 17:25:17 UTC |
1357606 | Mohamed Hegazy | 25 August 2016, 17:16:53 UTC | Update LKG | 25 August 2016, 17:16:53 UTC |
6c49dc2 | Zhengbo Li | 25 August 2016, 13:21:02 UTC | strip comments when re-emitting tsconfig.json (#10529) | 25 August 2016, 17:15:42 UTC |
c0309fa | Nathan Shively-Sanders | 25 August 2016, 16:21:31 UTC | Fix crash when checking module exports for export= Also make maxNodeModuleJsDepth default to 0 so that incorrect tsconfigs now let the compiler spend less time compiling JS that is found in node_modules (especially since most people will already have the d.ts and want ignore the JS anyway). jsconfig still defaults to 2. | 25 August 2016, 16:21:31 UTC |
bab4a52 | Zhengbo Li | 25 August 2016, 13:21:02 UTC | strip comments when re-emitting tsconfig.json (#10529) | 25 August 2016, 13:21:02 UTC |
ddb5a00 | Nathan Shively-Sanders | 23 August 2016, 16:34:20 UTC | Merge pull request #10446 from YuichiNukiyama/fix10351 Add error message | 23 August 2016, 16:34:20 UTC |
590755b | Yuichi Nukiyama | 23 August 2016, 12:54:01 UTC | change error message | 23 August 2016, 12:54:01 UTC |
c254e95 | Kanchalai Tanglertsampan | 23 August 2016, 00:25:48 UTC | Update LKG on 08/22 | 23 August 2016, 00:25:48 UTC |
796c079 | Kanchalai Tanglertsampan | 23 August 2016, 00:19:04 UTC | Merge branch 'master' into release-2.0 | 23 August 2016, 00:19:04 UTC |
234b3bb | Yui | 23 August 2016, 00:04:49 UTC | Merge master 08/22 (#10487) * Add test case for #8229 * Do not report errors during contextual typecheck Fixes #8229 * Handle the scenario when let [a=undefined]=[] * Instantiate contextual this parameters if needed * Test that contextually typed generic this parameters are instantiated * Don't allow `.ts` to appear in an import * Add specific error message for unwanted '.ts' extension * Allow `await` in a simple unary expression * More tests * Forbid `await await` * Allow `await await` * Improve error message * Don't allow ".d.ts" extension in an import either. * Rename 'find' functions * Assign and instantiate contextual this type if not present * JSDoc supports null, undefined and never types * Update baselines in jsDocParsing unit tests * Return non-JsDocComment children ... to make syntactic classification work * Move supportedTypescriptExtensionsWithDtsFirst next to supportedTypeScriptExtensions and rename * Fix comment * Treat special property access symbol differently ... when retriving documentation * Fix tests * Update shim version to be 2.1 (#10424) * Check return code paths on getters (#10102) * Check return paths on getters * Remove TODO comment * Remove extraneous arguments from harness's runBaseline (#10419) * Remove extraneous arguments from runBaseline * Address comments from @yuit * Remove needless call to basename * Refactor baseliners out of compiler runner (#10440) * CR feedback * fix broken tests * Pass in baselineOpts into types baselines so that RWC baselines can be written to internal folder (#10443) * Add more test for 10426 * routine update of dom libs * Add test for jsdoc syntactic classification for function declaration * Simplify implementation * Tolerate certain errors in tsconfig.json * Add test for configFile error tolerance * Use TS parser to tolerate more errors in tsconfig.json * Implement tuple types as type references to synthesized generic types * Add comments + minor changes * Accept new baselines * Add .types extension * Properly guard for undefined in getTypeReferenceArity * Add jsdoc nullable union test case to fourslash * Fix class/interface merging issue + lint error * Allow "typings" in a package.json to be missing its extension (but also allow it to have an extension) * Contextually type this in getDeclFromSig, not checkThisExpr * Update parser comment with es7 grammar (#10459) * Use ES7 term of ExponentiationExpression * Update timeout for mac OS * Address PR: add space * allowSyntheticDefaultImports resolves to modules instead of variables Fixes #10429 by improving the fix in #10096 * Rename getContextuallyTypedThisParameter to getContextualThisParameter * Fix 10472: Invalid emitted code for await expression (#10483) * Properly emit await expression with yield expression * Add tests and update baselines * Move parsing await expression into parse unary-expression * Update incorrect comment | 23 August 2016, 00:04:49 UTC |
93de502 | Nathan Shively-Sanders | 22 August 2016, 23:50:55 UTC | Merge pull request #10486 from Microsoft/allowSyntheticDefaultImports-resolves-to-module allowSyntheticDefaultImports resolves to modules instead of variables | 22 August 2016, 23:50:55 UTC |
f028fa3 | Nathan Shively-Sanders | 22 August 2016, 23:47:13 UTC | Merge pull request #9746 from Microsoft/instantiate-this-for-contextually-typed-type-parameters Instantiate this for contextually typed type parameters | 22 August 2016, 23:47:13 UTC |
36130ff | Yui | 22 August 2016, 23:37:04 UTC | Fix 10472: Invalid emitted code for await expression (#10483) * Properly emit await expression with yield expression * Add tests and update baselines * Move parsing await expression into parse unary-expression * Update incorrect comment | 22 August 2016, 23:37:04 UTC |
fc1d6a8 | Nathan Shively-Sanders | 22 August 2016, 23:36:38 UTC | Rename getContextuallyTypedThisParameter to getContextualThisParameter | 22 August 2016, 23:36:38 UTC |
046b55e | Nathan Shively-Sanders | 22 August 2016, 23:27:44 UTC | allowSyntheticDefaultImports resolves to modules instead of variables Fixes #10429 by improving the fix in #10096 | 22 August 2016, 23:27:44 UTC |
edbeab0 | Zhengbo Li | 22 August 2016, 23:10:27 UTC | Merge pull request #10418 from zhengbli/tolerateConfigError Tolerate errors in config file | 22 August 2016, 23:10:27 UTC |
d133b0e | Mohamed Hegazy | 22 August 2016, 23:06:48 UTC | Merge pull request #10407 from zhengbli/fixJsDocSyntacticClassification Return non-JsDocComment children for syntactic classification | 22 August 2016, 23:06:48 UTC |
6f722b0 | Zhengbo Li | 22 August 2016, 22:34:46 UTC | Merge pull request #10441 from zhengbli/routineUpdate819 routine update of dom libs | 22 August 2016, 22:34:46 UTC |
3fb0840 | Anders Hejlsberg | 22 August 2016, 22:30:46 UTC | Merge pull request #10466 from Microsoft/tupleTypeReferences Unify representation of tuples and other generic types | 22 August 2016, 22:30:46 UTC |
4a58e68 | Yui | 22 August 2016, 21:38:07 UTC | Update parser comment with es7 grammar (#10459) * Use ES7 term of ExponentiationExpression * Update timeout for mac OS * Address PR: add space | 22 August 2016, 21:38:07 UTC |
5aafc2c | Nathan Shively-Sanders | 22 August 2016, 21:08:34 UTC | Contextually type this in getDeclFromSig, not checkThisExpr | 22 August 2016, 21:08:34 UTC |
a013759 | Nathan Shively-Sanders | 22 August 2016, 20:48:37 UTC | Merge pull request #10399 from Microsoft/jsdoc-never-undefined-null-types JSDoc supports null, undefined and never types | 22 August 2016, 20:48:37 UTC |
ec1f6b1 | Andy | 22 August 2016, 20:42:03 UTC | Merge pull request #10480 from Microsoft/typings_extension_is_optional Allow "typings" in a package.json to be missing its extension | 22 August 2016, 20:42:03 UTC |
92eb8df | Andy Hanson | 22 August 2016, 20:03:49 UTC | Allow "typings" in a package.json to be missing its extension (but also allow it to have an extension) | 22 August 2016, 20:03:49 UTC |
2013058 | Anders Hejlsberg | 22 August 2016, 18:21:06 UTC | Fix class/interface merging issue + lint error | 22 August 2016, 18:21:06 UTC |
bb6c6fd | Mohamed Hegazy | 22 August 2016, 17:33:30 UTC | Merge pull request #10478 from Microsoft/fixtypesRWC Add .types extension | 22 August 2016, 17:33:30 UTC |
2c814f4 | Nathan Shively-Sanders | 22 August 2016, 17:08:57 UTC | Add jsdoc nullable union test case to fourslash | 22 August 2016, 17:08:57 UTC |
4e56fc0 | Anders Hejlsberg | 22 August 2016, 16:49:26 UTC | Properly guard for undefined in getTypeReferenceArity | 22 August 2016, 16:49:26 UTC |
05fef61 | Kanchalai Tanglertsampan | 22 August 2016, 16:15:05 UTC | Add .types extension | 22 August 2016, 16:15:05 UTC |
2e8d11e | Anders Hejlsberg | 22 August 2016, 00:01:07 UTC | Accept new baselines | 22 August 2016, 00:01:07 UTC |
7d82c22 | Anders Hejlsberg | 21 August 2016, 23:53:34 UTC | Add comments + minor changes | 21 August 2016, 23:53:34 UTC |
582d8b8 | Anders Hejlsberg | 21 August 2016, 23:18:45 UTC | Implement tuple types as type references to synthesized generic types | 21 August 2016, 23:18:45 UTC |
a8ab52f | zhengbli | 21 August 2016, 03:47:35 UTC | Use TS parser to tolerate more errors in tsconfig.json | 21 August 2016, 03:47:35 UTC |
b207417 | zhengbli | 21 August 2016, 03:47:30 UTC | Add test for configFile error tolerance | 21 August 2016, 03:47:30 UTC |
84386f9 | zhengbli | 21 August 2016, 03:46:56 UTC | Tolerate certain errors in tsconfig.json | 21 August 2016, 03:46:56 UTC |
6d2323b | zhengbli | 21 August 2016, 03:41:47 UTC | Simplify implementation | 21 August 2016, 03:41:47 UTC |
e445e01 | zhengbli | 21 August 2016, 03:41:33 UTC | Add test for jsdoc syntactic classification for function declaration | 21 August 2016, 03:41:33 UTC |
66f6f9b | Zhengbo Li | 21 August 2016, 03:39:33 UTC | Merge pull request #10458 from zhengbli/betterTestForModuleExportDOc Add more test for #10426 | 21 August 2016, 03:39:33 UTC |
794d3e9 | zhengbli | 21 August 2016, 03:35:58 UTC | routine update of dom libs | 21 August 2016, 03:35:58 UTC |
dc7b18e | Yuichi Nukiyama | 21 August 2016, 02:42:41 UTC | fix some errors | 21 August 2016, 02:42:41 UTC |
eeec775 | zhengbli | 21 August 2016, 02:12:11 UTC | Add more test for 10426 | 21 August 2016, 02:12:11 UTC |
bc0c137 | Yuichi Nukiyama | 20 August 2016, 12:36:17 UTC | remove extra code | 20 August 2016, 12:36:17 UTC |
0c01874 | Yuichi Nukiyama | 20 August 2016, 12:24:46 UTC | follow advise | 20 August 2016, 12:24:46 UTC |
37a9e6a | Yuichi Nukiyama | 20 August 2016, 04:44:09 UTC | fix linting error | 20 August 2016, 04:44:09 UTC |
806e142 | Yuichi Nukiyama | 20 August 2016, 03:36:57 UTC | Add error message Add error message when trying to relate primitives to the boxed/apparent backing types. | 20 August 2016, 03:36:57 UTC |
c05a866 | Yui | 20 August 2016, 01:06:31 UTC | Update LKG on 08/19 (#10445) | 20 August 2016, 01:06:31 UTC |
7b6846d | Yui | 20 August 2016, 00:55:27 UTC | Merge master to release-2.0 on 08/19 (#10444) * Add test case for #8229 * Do not report errors during contextual typecheck Fixes #8229 * Handle the scenario when let [a=undefined]=[] * Don't allow `.ts` to appear in an import * Add specific error message for unwanted '.ts' extension * Allow `await` in a simple unary expression * More tests * Forbid `await await` * Allow `await await` * Improve error message * Don't allow ".d.ts" extension in an import either. * Rename 'find' functions * Move supportedTypescriptExtensionsWithDtsFirst next to supportedTypeScriptExtensions and rename * Fix comment * Treat special property access symbol differently ... when retriving documentation * Fix tests * Update shim version to be 2.1 (#10424) * Check return code paths on getters (#10102) * Check return paths on getters * Remove TODO comment * Remove extraneous arguments from harness's runBaseline (#10419) * Remove extraneous arguments from runBaseline * Address comments from @yuit * Remove needless call to basename * Refactor baseliners out of compiler runner (#10440) * CR feedback * fix broken tests * Pass in baselineOpts into types baselines so that RWC baselines can be written to internal folder (#10443) | 20 August 2016, 00:55:27 UTC |
d8ab098 | Zhengbo Li | 20 August 2016, 00:09:25 UTC | Merge pull request #10426 from zhengbli/9518 Treat special property access symbol differently when retriving documentation | 20 August 2016, 00:09:25 UTC |
a531b87 | Yui | 20 August 2016, 00:06:05 UTC | Pass in baselineOpts into types baselines so that RWC baselines can be written to internal folder (#10443) | 20 August 2016, 00:06:05 UTC |
a5bb13f | zhengbli | 19 August 2016, 23:53:36 UTC | fix broken tests | 19 August 2016, 23:53:36 UTC |
057357b | zhengbli | 19 August 2016, 22:48:46 UTC | CR feedback | 19 August 2016, 22:48:46 UTC |
8ad2744 | Wesley Wigham | 19 August 2016, 22:44:14 UTC | Refactor baseliners out of compiler runner (#10440) | 19 August 2016, 22:44:14 UTC |
def29f6 | Ryan Cavanaugh | 19 August 2016, 22:10:10 UTC | Merge pull request #10439 from RyanCavanaugh/fixJakeBaselineAccept Properly move baseline files | 19 August 2016, 22:10:10 UTC |
6c60e5b | Ryan Cavanaugh | 19 August 2016, 21:34:14 UTC | Remove needless call to basename | 19 August 2016, 21:34:14 UTC |
da6d951 | Wesley Wigham | 19 August 2016, 20:56:27 UTC | Remove extraneous arguments from harness's runBaseline (#10419) * Remove extraneous arguments from runBaseline * Address comments from @yuit | 19 August 2016, 20:56:27 UTC |
0168ab2 | Wesley Wigham | 19 August 2016, 20:34:06 UTC | Check return code paths on getters (#10102) * Check return paths on getters * Remove TODO comment | 19 August 2016, 20:34:06 UTC |
7f6e36c | Yui | 19 August 2016, 17:03:23 UTC | Update shim version to be 2.1 (#10424) | 19 August 2016, 17:03:23 UTC |
d2d5d42 | Andy | 19 August 2016, 13:49:33 UTC | Merge pull request #9646 from Microsoft/no_ts_extension Don't allow `.ts` to appear in an import | 19 August 2016, 13:49:33 UTC |
19cde06 | Andy | 19 August 2016, 13:49:16 UTC | Merge pull request #9890 from Microsoft/cast_of_await Allow `await` in a simple unary expression | 19 August 2016, 13:49:16 UTC |
b482fa5 | Andy Hanson | 19 August 2016, 13:16:57 UTC | Merge branch 'master' into cast_of_await | 19 August 2016, 13:16:57 UTC |
b452469 | Andy Hanson | 19 August 2016, 13:14:28 UTC | Fix tests | 19 August 2016, 13:14:28 UTC |
297cb50 | Andy Hanson | 19 August 2016, 13:11:46 UTC | Merge branch 'master' into no_ts_extension | 19 August 2016, 13:11:46 UTC |
03dcdda | zhengbli | 19 August 2016, 00:12:40 UTC | Treat special property access symbol differently ... when retriving documentation | 19 August 2016, 00:12:40 UTC |
a621c09 | Mohamed Hegazy | 18 August 2016, 23:18:52 UTC | Merge pull request #8241 from Microsoft/noImplicitAnyDestructuring Do not report errors of implicit any during contexual type checking of binding pattern element | 18 August 2016, 23:18:52 UTC |
78f2593 | Mohamed Hegazy | 18 August 2016, 23:17:18 UTC | Merge branch 'master' into release-2.0 | 18 August 2016, 23:17:18 UTC |
c7c3158 | Mohamed Hegazy | 18 August 2016, 22:05:43 UTC | Update LKG | 18 August 2016, 22:05:43 UTC |
b10c2ba | Mohamed Hegazy | 18 August 2016, 21:53:04 UTC | Update version to 2.0.2 | 18 August 2016, 21:53:04 UTC |
1d9124e | Yui | 18 August 2016, 21:49:09 UTC | [Release-2.0] Merge master into Release-2.0 (#10347) * Change getUnionType to default to no subtype reduction * Remove unnecessary subtype reduction operations * Use binary searching in union types to improve performance * Optimize type inference * Fixed broken singleAsteriskRegex. Fixes #9918 (#9920) * Lock ts-node to 1.1.0 while perf issue is investigated (#9933) * Fix typo in comment for MAX_SAFE_INTEGER * In ts.performance.now, bind window.performance.now Using an arrow function. Previously, it was set directly to window.performance.now, which fails when used on Chrome. * Add lint enforcing line endings (#9942) * Add servicesSources to the list of prerequisites for running tests * Support emitting static properties for classes with no name * Add assertion whitespace lint rule (#9931) * Add assertion whitespace lint rule * Fix typo * Add the word `Rule` to Jakefile * Limit travis build matrix (#9968) * Convert getErrorBaseline to use canonical diagnostic formatting (#9708) * Convert getErrorBaseline to use canonical diagnostic formatting * Fix lint * Found another clone of format diagnostic - consolidate * Fully declone * Unify nodeKind implementations for navigationBar and navigateTo * Fix test and rename a function * Fix lint errors * Remove hardcoded port, use the custom port * Unlock ts-node version (#9960) * Allow an abstract class to appear in a local scope * JSDoc understands string literal types Unfortunately, I didn't find a way to reuse the normal string literal type, so I had to extend the existing JSDoc type hierarchy. Otherwise, this feature is very simple. * Update baselines to be current * Add find and findIndex to ReadonlyArray * The optional this should be readonly too. * Update baseline source location * Re-add concat overload to support inferring tuples * Update baselines with new concat overload * Update LastJSDoc[Tag]Node * Display enum member types using qualified names * Accept new baselines * Fix lint error * null/undefined are allowed as index expressions `null` and `undefined` are not allowed with `--strictNullChecks` turned on. Previously, they were disallowed whether or not it was on. * Use correct nullable terminology * Get rid of port parameter * Remove [port] in usage message * Properly reset type guards in loops * Add regression test * Introduce the `EntityNameExpression` type * Allow `export =` and `export default` to alias any EntityNameExpression, not just identifiers. * Lint tests helper files * recreate program if baseUrl or paths changed in tsconfig * Simplify some code * Have travis use a newer image for the OSX build (#10034) Suggested by travis support for stopping the randomly-halting-builds issue. * Correctly check for ambient class flag * Use "best choice type" for || and ?: operators * jsx opening element formatting * change error message for unused parameter property fix * Fix issue related to this and #8383 * Add additional tests * Accept new baselines * Provide `realpath` for module resolution in LSHost * Add test * Add test baselines * Accept new baselines * CR feedback * Remove `SupportedExpressionWithTypeArguments` type; just check that the expression of each `ExpressionWithTypeArguments` is an `EntityNameExpression`. * Fix bug * Fix #10083 - allowSyntheticDefaultImports alters getExternalModuleMember (#10096) * Use recursion, and fix error for undefined node * Rename function * Fix lint error * Narrowing type parameter intersects w/narrowed types This makes sure that a union type that includes a type parameter is still usable as the actual type that the type guard narrows to. * Add a helper function `getOrUpdateProperty` to prevent unprotected access to Maps. * Limit type guards as assertions to incomplete types in loops * Accept new baselines * Fix linting error * Allow JS multiple declarations of ctor properties When a property is declared in the constructor and on the prototype of an ES6 class, the property's symbol is discarded in favour of the method's symbol. That because the usual use for this pattern is to bind an instance function: `this.m = this.m.bind(this)`. In this case the type you want really is the method's type. * Use {} type facts for unconstrained type params Previously it was using TypeFacts.All. But the constraint of an unconstrained type parameter is actually {}. * Fix newline lint * Test that declares conflicting method first * [Release-2.0] Fix 9662: Visual Studio 2015 with TS2.0 gives incorrect @types path resolution errors (#9867) * Change the shape of the shim layer to support getAutomaticTypeDirectives * Change the key for looking up automatic type-directives * Update baselines from change look-up name of type-directives * Add @currentDirectory into the test * Update baselines * Fix linting error * Address PR: fix spelling mistake * Instead of return path of the type directive names just return type directive names * Remove unused reference files: these tests produce erros so they will not produce these files (#9233) * Add string-literal completion test for jsdoc * Support other (new) literal types in jsdoc * Don't allow properties inherited from Object to be automatically included in TSX attributes * Add new test baseline and delete else in binder The extra `else` caused a ton of test failures! * Fix lint * Port PR #10016 to Master (#10100) * Treat namespaceExportDeclaration as declaration * Update baselines * wip - add tests * Add tests * Show "export namespace" for quick-info * Fix more lint * Try using runtests-parallel for CI (#9970) * Try using runtests-parallel for CI * Put worker count setting into .travis.yml * Reduce worker count to 4 - 8 wasnt much different from 4-6 but had contention issues causing timeouts * Fix lssl task (#9967) * Surface noErrorTruncation option * Stricter check for discriminant properties in type guards * Add tests * Emit more efficient/concise "empty" ES6 ctor When there are property assignments in a the class body of an inheriting class, tsc current emit the following compilation: ```ts class Foo extends Bar { public foo = 1; } ``` ```js class Foo extends Bar { constructor(…args) { super(…args); this.foo = 1; } } ``` This introduces an unneeded local variable and might force a reification of the `arguments` object (or otherwise reify the arguments into an array). This is particularly bad when that output is fed into another transpiler like Babel. In Babel, you get something like this today: ```js var Foo = (function (_Bar) { _inherits(Foo, _Bar); function Foo() { _classCallCheck(this, Foo); for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) { args[_key] = arguments[_key]; } _Bar.call.apply(_Bar, [this].concat(args)); this.foo = 1; } return Foo; })(Bar); ``` This causes a lot of needless work/allocations and some very strange code (`.call.apply` o_0). Admittedly, this is not strictly tsc’s problem; it could have done a deeper analysis of the code and optimized out the extra dance. However, tsc could also have emitted this simpler, more concise and semantically equivalent code in the first place: ```js class Foo extends Bar { constructor() { super(…arguments); this.foo = 1; } } ``` Which compiles into the following in Babel: ```js var Foo = (function (_Bar) { _inherits(Foo, _Bar); function Foo() { _classCallCheck(this, Foo); _Bar.apply(this, arguments); this.foo = 1; } return Foo; })(Bar); ``` Which is well-optimized (today) in most engines and much less confusing to read. As far as I can tell, the proposed compilation has exactly the same semantics as before. Fixes #10175 * Fix instanceof operator narrowing issues * Accept new baselines * Add regression test * Improve naming and documentation from PR * Update comment * Add more tests * Accept new baselines * Reduce worker count to 3 (#10210) Since we saw a starvation issue on one of @sandersn's PRs. * Speed up fourslash tests * Duh * Make baselines faster by not writing out unneeded files * Fix non-strict-compliant test * Fix 10076: Fix Tuple Destructing with "this" (#10208) * Call checkExpression eventhough there is no appropriate type from destructuring of array * Add tests and baselines * use transpileModule * Remove use strict * Improve instanceof for structurally identical types * Introduce isTypeInstanceOf function * Add test * Accept new baselines * Fix loop over array to use for-of instead of for-in * Use correct this in tuple type parameter constraints Instantiate this in tuple types used as type parameter constraints * Add explanatory comment to resolveTupleTypeMembers * Ignore null, undefined, void when checking for discriminant property * Add regression test * Delay tuple type constraint resolution Create a new tuple that stores the this-type. * Always use thisType when generating tuple id * Optimize format of type list id strings used in maps * Make ReadonlyArray iterable. * Allow OSX to fail while we investigate (#10255) The random test timeouts are an issue. * avoid using the global name * Fix single-quote lint * Optimize performance of maps * Update API sample * Fix processDiagnosticMessages script * Have travis take shallow clones of the repo (#10275) Just cloning TS on travis takes 23 seconds on linux (68 seconds on mac), hopefully having it do a shallow clone will help. We don't rely on any tagging/artifacts from the travis servers which clone depth could impact, so this shouldn't impact anything other than build speed. * Add folds to travis log (#10269) * Optimize filterType to only call getUnionType if necessary * Add shorthand types declaration for travis-fold (#10293) * Optimize getTypeWithFacts * Filter out nullable and primitive types in isDiscriminantProperty * Fix typo * Add regression tests * Optimize core filter function to only allocate when necessary * Address CR comments + more optimizations * Faster path for creating union types from filterType * Allow an @types direcotry to have a package.json which specifies `"typings": null` to disclude it from automatically included typings. * Lint * Collect timing information for commands running on travis (#10308) * Simplifies performance API * Use 'MapLike' instead of 'Map' in 'preferConstRule.ts'. * narrow from 'any' in most situations instanceof and user-defined typeguards narrow from 'any' unless the narrowed-to type is exactly 'Object' or 'Function'. This is a breaking change. * Update instanceof conformance tests * accept new baselines * add tests * accept new baselines * Use lowercase names for type reference directives * Use proper response codes in web tests * Treat ambient shorthand declarations as explicit uses of the `any` type * Parallel linting (#10313) * A perilous thing, a parallel lint * Use work queue rather than scheduling work * Dont read files for lint on main thread * Fix style * Fix the style fix (#10344) * Aligned mark names with values used by ts-perf. * Use an enum in checkClassForDuplicateDeclarations to aid readability * Rename to Accessor * Correctly update package.json version * Migrated more MapLikes to Maps * Add ES2015 Date constructor signature that accepts another Date (#10353) * Parameters with no assignments implicitly considered const * Add tests * Migrate additional MapLikes to Maps. * Fix 10625: JSX Not validating when index signature is present (#10352) * Check for type of property declaration before using index signature * Add tests and baselines * fix linting error * Adding more comments * Clean up/move some Map helper functions. * Revert some formatting changes. * Improve ReadonlyArray<T>.concat to match Array<T> The Array-based signature was incorrect and also out-of-date. * Fix link to blog * Remove old assertion about when we're allowed to use fileExists * Set isNewIdentifierLocation to true for JavaScript files * Update error message for conflicting type definitions Fixes #10370 * Explain why we lower-case type reference directives * Correctly merge bindThisPropertyAssignment Also simply it considerably after noticing that it's *only* called for Javascript files, so there was a lot of dead code for TS cases that never happened. * Fix comment * Property handle imcomplete control flow types in nested loops * Update due to CR suggestion * Add regression test * Fix 10289: correctly generate tsconfig.json with --lib (#10355) * Separate generate tsconfig into its own function and implement init with --lib # Conflicts: # src/compiler/tsc.ts * Add tests and baselines; Update function name Add unittests and baselines Add unittests and baselines for generating tsconfig Move unittest into harness folder Update harness tsconfig.json USe correct function name * Use new MapLike interstead. Update unittest # Conflicts: # src/compiler/commandLineParser.ts * Update JakeFile * Add tests for incorrect cases * Address PR : remove explicity write node_modules * Add more tests for `export = foo.bar`. * Output test baselines to tests/baselines/local instead of root | 18 August 2016, 21:49:09 UTC |
b8963ba | Yui | 18 August 2016, 21:39:15 UTC | Fix RWC Runner (#10420) * Use /// <reference types * Don't report an errors if it comes from lib.d.ts | 18 August 2016, 21:39:15 UTC |
952d2fe | Andy Hanson | 18 August 2016, 21:19:17 UTC | Fix comment | 18 August 2016, 21:19:17 UTC |
8fc17af | Andy Hanson | 18 August 2016, 21:11:30 UTC | Move supportedTypescriptExtensionsWithDtsFirst next to supportedTypeScriptExtensions and rename | 18 August 2016, 21:11:30 UTC |
d830034 | Daniel Rosenwasser | 18 August 2016, 21:03:31 UTC | Merge pull request #10404 from Microsoft/addCommentForEmptyCtorEmit Restored comments to explain spreading 'arguments' into 'super' calls | 18 August 2016, 21:03:31 UTC |
6facbf1 | Daniel Rosenwasser | 18 August 2016, 21:00:30 UTC | Merge pull request #10403 from Microsoft/completionsForNullableObjects Fix completions for nullable objects | 18 August 2016, 21:00:30 UTC |
f57b0fb | Ryan Cavanaugh | 18 August 2016, 16:19:21 UTC | Merge pull request #10415 from Microsoft/baseline_local_path Output test baselines to tests/baselines/local instead of root | 18 August 2016, 16:19:21 UTC |
4e40b75 | Andy | 18 August 2016, 16:02:24 UTC | Merge pull request #10413 from Microsoft/export_equals_property_test Add more tests for `export = foo.bar`. | 18 August 2016, 16:02:24 UTC |
67b6c56 | Andy Hanson | 18 August 2016, 14:44:20 UTC | Output test baselines to tests/baselines/local instead of root | 18 August 2016, 14:44:20 UTC |
2e57220 | Andy Hanson | 18 August 2016, 14:38:20 UTC | Add more tests for `export = foo.bar`. | 18 August 2016, 14:38:20 UTC |
d24afc2 | Zhengbo Li | 18 August 2016, 07:06:48 UTC | Return non-JsDocComment children ... to make syntactic classification work | 18 August 2016, 07:06:48 UTC |
c1e70c9 | Daniel Rosenwasser | 18 August 2016, 03:32:52 UTC | Use the non-nullable type of the contextual type for object completions. | 18 August 2016, 03:49:21 UTC |
111b7c5 | Daniel Rosenwasser | 18 August 2016, 03:09:09 UTC | Added test. | 18 August 2016, 03:30:15 UTC |
73a857b | Daniel Rosenwasser | 18 August 2016, 01:10:06 UTC | Restored comments to explain spreading 'arguments' into calls to 'super'. | 18 August 2016, 01:10:06 UTC |
164beb3 | Nathan Shively-Sanders | 17 August 2016, 23:11:45 UTC | Update baselines in jsDocParsing unit tests | 17 August 2016, 23:11:45 UTC |
aa834d7 | Nathan Shively-Sanders | 17 August 2016, 22:49:57 UTC | JSDoc supports null, undefined and never types | 17 August 2016, 22:49:57 UTC |
da8fc5d | Yui | 17 August 2016, 22:23:28 UTC | Fix 10289: correctly generate tsconfig.json with --lib (#10355) * Separate generate tsconfig into its own function and implement init with --lib # Conflicts: # src/compiler/tsc.ts * Add tests and baselines; Update function name Add unittests and baselines Add unittests and baselines for generating tsconfig Move unittest into harness folder Update harness tsconfig.json USe correct function name * Use new MapLike interstead. Update unittest # Conflicts: # src/compiler/commandLineParser.ts * Update JakeFile * Add tests for incorrect cases * Address PR : remove explicity write node_modules | 17 August 2016, 22:23:28 UTC |
73a6488 | Mohamed Hegazy | 17 August 2016, 21:22:12 UTC | Merge branch 'gcnew-noErrorTruncation' | 17 August 2016, 21:22:12 UTC |
5843bbb | Mohamed Hegazy | 17 August 2016, 21:22:01 UTC | Merge branch 'noErrorTruncation' of https://github.com/gcnew/TypeScript into gcnew-noErrorTruncation # Conflicts: # src/compiler/diagnosticMessages.json | 17 August 2016, 21:22:01 UTC |
0f483d6 | Nathan Shively-Sanders | 17 August 2016, 21:21:49 UTC | Assign and instantiate contextual this type if not present | 17 August 2016, 21:21:49 UTC |
4880e7e | Anders Hejlsberg | 17 August 2016, 21:05:02 UTC | Merge pull request #10396 from Microsoft/fixNestedLoopTypeGuards Fix nested loop type guards | 17 August 2016, 21:05:02 UTC |
7a9f8c8 | jramsay | 17 August 2016, 20:58:21 UTC | Merge pull request #10391 from Microsoft/SetIsNewIdentifierLocationToTrueForJS Set isNewIdentifierLocation to true for JavaScript files | 17 August 2016, 20:58:21 UTC |
ef2d6ab | Mohamed Hegazy | 17 August 2016, 20:33:13 UTC | Merge pull request #10342 from Microsoft/ambient_shorthand_is_explicit_any Treat ambient shorthand declarations as explicit uses of the `any` type | 17 August 2016, 20:33:13 UTC |
b93cdec | Anders Hejlsberg | 17 August 2016, 20:30:13 UTC | Add regression test | 17 August 2016, 20:30:13 UTC |
2d1639f | Anders Hejlsberg | 17 August 2016, 20:30:03 UTC | Property handle imcomplete control flow types in nested loops | 17 August 2016, 20:30:03 UTC |
44476f1 | Jason Ramsay | 17 August 2016, 20:30:03 UTC | Update due to CR suggestion | 17 August 2016, 20:30:03 UTC |
bf63811 | Ryan Cavanaugh | 17 August 2016, 18:13:18 UTC | Merge pull request #10213 from RyanCavanaugh/baselinePerf Make baselines faster by not writing out unneeded files | 17 August 2016, 18:13:18 UTC |
271ffc8 | Nathan Shively-Sanders | 17 August 2016, 18:03:26 UTC | Merge branch 'master' into instantiate-this-for-contextually-typed-type-parameters | 17 August 2016, 18:03:26 UTC |