Commit Graph

  • 58ad164813 Update baselines Nathan Shively-Sanders 2017-07-25 14:14:45 -07:00
  • c55a043767 Address PR comments from Andy Nathan Shively-Sanders 2017-07-25 14:14:12 -07:00
  • c1375d5422 generateTSConfig: Remove unnecessary variable (#17330) Andy 2017-07-25 13:30:48 -07:00
  • eadd084c82 Add 'name' property to Identifier (#17329) Andy 2017-07-25 13:16:34 -07:00
  • d4f8da0272 Revert #17074 (#17326) Andy 2017-07-25 13:15:45 -07:00
  • 109732a16a Merge pull request #17405 from Microsoft/publishParallel Daniel Rosenwasser 2017-07-25 11:27:00 -07:00
  • 1002974c92 Make the 'publish-nightly' target run tests in parallel. Daniel Rosenwasser 2017-07-25 10:50:46 -07:00
  • 1fb6d349f1 Test:use type param constraints for computed prop types Nathan Shively-Sanders 2017-07-25 09:39:54 -07:00
  • 43981eaa48 Use type param constraints for computed prop types Nathan Shively-Sanders 2017-07-25 09:38:55 -07:00
  • d1459f7e9c Add SpaceBetweenOpenParens rule vvakame 2017-07-25 18:24:04 +09:00
  • d74cb24640 Merge pull request #17354 from weswigham/fix-parameter-parsing-infinite-loop Ron Buckton 2017-07-24 18:21:10 -07:00
  • a70b50ae7c getResolvedModule: Don't need to call hasResolvedModule (#16423) Andy 2017-07-24 17:51:37 -07:00
  • 98d5830831 Use scanner position instead of node members Wesley Wigham 2017-07-24 17:49:44 -07:00
  • 1d9c3e1c22 Add repro Anders Hejlsberg 2017-07-24 17:07:24 -07:00
  • a48b2229cb Accept new baselines Anders Hejlsberg 2017-07-24 17:07:11 -07:00
  • f6ed29df3a Add tests Anders Hejlsberg 2017-07-24 17:06:45 -07:00
  • 06beee1cc8 Much simpler fix, rolls in really old fix, removed unused comment Wesley Wigham 2017-07-24 15:16:21 -07:00
  • 47e6aef858 Given T extends Foo, make Partial<T> related to Partial<Foo> Anders Hejlsberg 2017-07-24 13:59:43 -07:00
  • eee4c618e2 Indent list of open files (#17255) Andy 2017-07-24 13:32:43 -07:00
  • 7702d15cf3 Add current time to tsserver logs (#17268) Andy 2017-07-24 13:32:23 -07:00
  • 7040df2094 Tests covering the bug Wesley Wigham 2017-07-21 17:30:01 -07:00
  • e7bf44e820 Fix for loop which retains jsdoc behaviors Wesley Wigham 2017-07-21 17:20:56 -07:00
  • 59961394cb @param parsing:const enum to improve readability Nathan Shively-Sanders 2017-07-21 15:07:20 -07:00
  • e942bbb6f2 Test: jsdoc @param type literals Nathan Shively-Sanders 2017-07-21 14:49:07 -07:00
  • 8d2d226aca Update JSDocParsing unit test baselines Nathan Shively-Sanders 2017-07-21 14:48:48 -07:00
  • 7ff91c1e1c Parse jsdoc type literals in params Nathan Shively-Sanders 2017-07-21 14:04:14 -07:00
  • 441daa4e19 Merge pull request #17302 from minestarks/removeimportfix Mine Starks 2017-07-21 10:22:24 -07:00
  • f0bd91c314 Convert Array to ReadonlyArray/Push in commandLineParser.ts (#17323) Andy 2017-07-21 07:16:22 -07:00
  • 9f6ec635a4 Cleaner path splitting, refine file extension and case sensitivity handling Mine Starks 2017-07-20 15:10:59 -07:00
  • 98b14e34ca Fix quote styles to match Mine Starks 2017-07-20 15:10:29 -07:00
  • fe86d2fc06 Merge pull request #17257 from armanio123/FixNodeModulesTodos Armando Aguirre 2017-07-20 14:58:36 -07:00
  • 8fa1d2e3e6 Merge pull request #17141 from Microsoft/master-17060 Ron Buckton 2017-07-20 12:11:10 -07:00
  • 7cb8ce4346 Fix exceptions on empty tuple errors (#17311) Wesley Wigham 2017-07-20 10:09:55 -07:00
  • 1f09af9ab6 simplify isFileSystemCaseSensitive test (#17169) Andy 2017-07-20 10:02:59 -07:00
  • 1155c37fcb Merge branch 'master' into watchImprovements Sheetal Nandi 2017-07-20 09:49:30 -07:00
  • c60774b4c6 Make many 'static' variables readonly (#17306) Andy 2017-07-20 08:54:47 -07:00
  • 759ee288f2 Merge pull request #17314 from gcnew/checkTypeGuardConstraintConformance Nathan Shively-Sanders 2017-07-20 07:49:39 -07:00
  • 53e4040ceb Remove duplicate emptyArrays (#17305) Andy 2017-07-20 06:45:22 -07:00
  • 97fb23b519 Make 'keyof readonly T' be the same as 'keyof T' Anders Hejlsberg 2017-07-19 16:18:07 -10:00
  • 25454de2a3 Merge pull request #17313 from Microsoft/fix-tslint-typeOperatingSpacingRule Nathan Shively-Sanders 2017-07-19 17:58:53 -07:00
  • ed87b40902 Fix linter (#17312) Wesley Wigham 2017-07-19 17:06:31 -07:00
  • 0654fa285c Added tests gcnew 2017-07-20 02:50:55 +03:00
  • ca2a8e8518 Fix typeOperatingSpacingRule:use ReadonlyArray Nathan Shively-Sanders 2017-07-19 16:59:27 -07:00
  • e52ed1a23a Check the return type of type guard functions gcnew 2017-07-20 02:48:30 +03:00
  • 9bdd17e842 Added explanation comment for excluding files. Armando Aguirre 2017-07-19 15:42:01 -07:00
  • f37d9068ff Fix configure-nightly script to match new contents of core.ts (#17014) Andy 2017-07-19 14:47:25 -07:00
  • 6105867bb0 Bumped version to 2.4.2. Daniel Rosenwasser 2017-07-19 14:00:27 -07:00
  • a34cf58560 Update the builder dependency graph only if it was created. This makes sure that we dont create this graph just because project was updated Sheetal Nandi 2017-06-14 14:52:13 -07:00
  • ecaa8b13c4 Change ReadonlyArray<T> to be alias for 'readonly T[]' Anders Hejlsberg 2017-07-19 08:25:25 -10:00
  • 20378e89c0 Remove special meanings of ReadonlyArray<T> in compiler Anders Hejlsberg 2017-07-19 08:23:46 -10:00
  • d99694614a Simplify use of array helpers (#17301) Andy 2017-07-19 11:23:41 -07:00
  • d918b8ad4e Remove duplicate helper (#17296) Andy 2017-07-19 11:23:14 -07:00
  • 15d294d350 Bugs in missing import codefix Mine Starks 2017-07-19 11:02:49 -07:00
  • cfa94c2d34 Binder: handle JS property assignment that comes after a method declaration with the same name (#16830) Andy 2017-07-19 09:11:50 -07:00
  • ea0bce511b MultiStepOperation: No need to create a 'NextStep' object, just use self as the NextStep (#17174) Andy 2017-07-19 07:52:18 -07:00
  • 8075353356 Appropriately parenthesize keyof and typeof queries in array types (#17272) Wesley Wigham 2017-07-18 15:08:53 -07:00
  • 08a57d82cd Add 'clear' helper (#17209) Andy 2017-07-18 11:08:44 -07:00
  • 194c2bc2ca Make NodeArray readonly (#17213) Andy 2017-07-18 10:38:21 -07:00
  • 80b19a09a1 Introduce a ReadonlyMap interface and use it in core.ts (#17161) Andy 2017-07-18 10:26:11 -07:00
  • 0a8ddca775 getJSDocParameterTags: no need to handle JSDocFunctionType, just return undefined (#16837) Andy 2017-07-18 10:22:52 -07:00
  • fb89d47508 Merge pull request #17252 from Microsoft/contextually-type-this-in-object-literals-in-javascript Nathan Shively-Sanders 2017-07-18 10:18:10 -07:00
  • 95f5bc1ee0 Add unknown property to test of contextual this type Nathan Shively-Sanders 2017-07-18 10:01:22 -07:00
  • 068b17a1b8 ParameterDeclaration: name may be undefined (#17074) Andy 2017-07-18 09:47:19 -07:00
  • 695514290f Fix #17023 (#17180) Wesley Wigham 2017-07-18 09:12:25 -07:00
  • 7d7a06dbc2 Merge pull request #17250 from Microsoft/quickfix-jsdoc-in-ts Nathan Shively-Sanders 2017-07-18 08:59:19 -07:00
  • 1b7faf10ac Merge pull request #17254 from Microsoft/generic-Object-jsdoc-creates-index-signature Nathan Shively-Sanders 2017-07-18 08:48:56 -07:00
  • 65e8da134c Add jsdoc to getNullableType now that it's public Nathan Shively-Sanders 2017-07-18 08:48:12 -07:00
  • e8f674fafb Update es5.d.ts Homa Wong 2017-07-18 00:58:05 -07:00
  • 8a1cd33451 Use jsdoc casts (#17251) Wesley Wigham 2017-07-17 23:39:20 -07:00
  • 6f28f83f18 Added node_modules path check on getTodoComments method. Armando Aguirre 2017-07-17 17:35:46 -07:00
  • ff34a77ab6 Merge branch 'master' into watchImprovements Sheetal Nandi 2017-07-17 16:54:28 -07:00
  • 2439e7affb Reduce the number of watched config files by watching the chain only in case of inferred root Sheetal Nandi 2017-07-17 15:20:59 -07:00
  • 047ab9b0e3 Update name of getIntendedTypeFromJSDocTypeReference Nathan Shively-Sanders 2017-07-17 16:23:42 -07:00
  • 3b7a07c441 Fix lint Nathan Shively-Sanders 2017-07-17 16:21:54 -07:00
  • 1173dc104a Improve naming and style a little Nathan Shively-Sanders 2017-07-17 16:18:09 -07:00
  • 10a91c5426 JSDoc:Object<string, T> creates index signature Nathan Shively-Sanders 2017-07-17 16:14:42 -07:00
  • 08ae02263a Contextually type this in object literals in JS Nathan Shively-Sanders 2017-07-17 15:59:18 -07:00
  • 73cfa64f44 Make sure not to truncate the stringified type from typeToString Nathan Shively-Sanders 2017-07-17 14:47:10 -07:00
  • de9a67f2f3 Issue template: Recommend to run tsc directly (#17246) Andy 2017-07-17 14:45:21 -07:00
  • 54dfdd77fb Merge pull request #17210 from Microsoft/readfile Sheetal Nandi 2017-07-17 14:39:57 -07:00
  • b13de0547e JSDoc codefix:getTypeFromTypeNode >>> typeToString Nathan Shively-Sanders 2017-07-17 14:11:35 -07:00
  • cbe7b4dba3 Update jsdoc codefix tests; test function(...) syntax Nathan Shively-Sanders 2017-07-17 14:11:06 -07:00
  • 5d46ca7118 Reuse stored types for any[] and Promise<any> instead of creating new ones (#17179) Andy 2017-07-17 12:56:58 -07:00
  • 2a219af308 convertFunctionToEs6Class: Bail if this is not a JavaScript file (#17149) Andy 2017-07-17 12:56:16 -07:00
  • 2ce23909b2 Fix error message Andy Hanson 2017-07-17 12:38:11 -07:00
  • 62ef6b1cda Added another todo as now we are watching too many files Sheetal Nandi 2017-07-17 12:37:36 -07:00
  • 6cf30fbccf Fix bug in importTracker: getExportNode must verify that we are on the LHS of a VariableDeclaration (#17205) Andy 2017-07-17 12:29:29 -07:00
  • 555776eb3c Minor cleanups in builder (#17208) Andy 2017-07-17 12:24:56 -07:00
  • f9e5576d58 Codefix for ?! pre/postfix JSDoc types Nathan Shively-Sanders 2017-07-17 11:06:20 -07:00
  • 3776b0b58b Codefix for Array.<number> -> Array<number> Nathan Shively-Sanders 2017-07-17 10:33:04 -07:00
  • dba552d071 Transform trees rather than produce strings Nathan Shively-Sanders 2017-07-17 10:02:29 -07:00
  • e98ac8d970 Merge branch 'parse-jsdoc-with-ts-type-parser' into quickfix-jsdoc-in-ts Nathan Shively-Sanders 2017-07-17 08:42:00 -07:00
  • 240f1f1be4 Merge pull request #17176 from Microsoft/parse-jsdoc-with-ts-type-parser Nathan Shively-Sanders 2017-07-17 08:41:06 -07:00
  • 3f60364a64 Improve test of jsdoc literal type parsing Nathan Shively-Sanders 2017-07-17 08:29:40 -07:00
  • ecc36653cd Fix fourslash tests Anders Hejlsberg 2017-07-16 17:12:32 -10:00
  • 5093f93677 Accept new baselines Anders Hejlsberg 2017-07-16 17:05:27 -10:00
  • 8a69ad89c0 Add 'this: readonly' annotations to Array<T> members Anders Hejlsberg 2017-07-16 17:01:52 -10:00
  • b6302f3c84 Add readonly type relationships Anders Hejlsberg 2017-07-16 16:51:47 -10:00
  • 201100dd3c Add type-to-string support for 'this: readonly' annotations Anders Hejlsberg 2017-07-16 14:44:05 -10:00
  • dcbd7b10f1 Combine the logic to find config file as well as the watch. This should speed up the file open scenarios where the file belongs to same configured project as we would use cache to answer those fileExists answers Sheetal Nandi 2017-07-15 22:26:10 -07:00