Commit Graph

  • e3da8fb526 Merge pull request #21131 from amcasey/GH15533 Andrew Casey 2018-01-11 11:03:34 -08:00
  • a77c6014b3 Parse comment on @property tag and use as documentation comment (#21119) Andy 2018-01-11 10:49:39 -08:00
  • 658de7f80e Merge pull request #21134 from Microsoft/fix-recursive-mapped-type-infinite-recursion Nathan Shively-Sanders 2018-01-11 10:24:23 -08:00
  • 2b630e9ea5 Update baselines Nathan Shively-Sanders 2018-01-11 10:08:49 -08:00
  • 16a8003011 push/popTypeResolution for circular base constraints Nathan Shively-Sanders 2018-01-11 10:07:59 -08:00
  • 538d7e705f LEGO: Merge pull request 21142 csigs 2018-01-11 09:10:33 -08:00
  • e34a4101b5 LEGO: check in for master to temporary branch. csigs 2018-01-11 17:10:12 +00:00
  • 7f8ec15edd Merge branch 'master' into fix-recursive-mapped-type-infinite-recursion Nathan Shively-Sanders 2018-01-10 15:44:42 -08:00
  • c0dd832e46 Test:incorrect mapped type doesn't infinitely recur Nathan Shively-Sanders 2018-01-10 15:38:22 -08:00
  • f0ef9a08d8 getConstraintOfTypeParameter:check circularity in base constraint Nathan Shively-Sanders 2018-01-10 15:37:27 -08:00
  • 9a4fe8eb7e Rename getPackageNameFromAtTypesDirectoryWithoutPrefix to getUnmangledNameForScopedPackage Andrew Casey 2018-01-10 15:17:27 -08:00
  • 40b896a73c Merge pull request #17912 from Microsoft/fix2-getConstraintOfIndexedAccess Nathan Shively-Sanders 2018-01-10 15:17:02 -08:00
  • 211be0ae69 Add regression test for de-dup'ing. Andrew Casey 2018-01-10 15:12:10 -08:00
  • ff102da9d1 Refine explanatory comment Andrew Casey 2018-01-10 15:12:00 -08:00
  • 8f45373e44 Rename simplifyIndexedAccessType->getSimplifiedIndexedAccessType Nathan Shively-Sanders 2018-01-10 14:43:55 -08:00
  • 0b23811a56 Handle indexed mapped types in transformIndexedAccessType Nathan Shively-Sanders 2018-01-10 14:00:52 -08:00
  • 8275bed33f Add comment explaining test-only workaround Andrew Casey 2018-01-10 13:57:06 -08:00
  • 5d8598f280 Add regression test Andrew Casey 2018-01-10 13:38:32 -08:00
  • 71c92bf2f6 Fix lint error Andrew Casey 2018-01-10 13:38:25 -08:00
  • f08ac66aca Update LKG v2.7.0 v2.7-rc Mohamed Hegazy 2018-01-10 13:19:05 -08:00
  • e86b342e3c Merge branch 'master' into release-2.7 Mohamed Hegazy 2018-01-10 13:16:36 -08:00
  • 7a1deae6aa AsteriskToken should always have length 1 (#21126) Andy 2018-01-10 12:52:35 -08:00
  • 7dbea0e82d Merge branch 'master' into fix2-getConstraintOfIndexedAccess Nathan Shively-Sanders 2018-01-10 12:40:35 -08:00
  • b16594b239 Ensure checkParameterInitializer always gets called Jack Williams 2018-01-10 20:33:00 +00:00
  • 4a86bc60a3 Add review suggestions Jack Williams 2018-01-10 19:48:48 +00:00
  • ee87cf409b Print the correct type in the top level chain as the message indicates (#21127) Wesley Wigham 2018-01-10 11:41:14 -08:00
  • ef5b171be2 Merge pull request #21107 from Microsoft/inferredProjectTypings Sheetal Nandi 2018-01-10 11:40:30 -08:00
  • 102368332e Use 'append' helper more (#21125) Andy 2018-01-10 11:31:13 -08:00
  • ddd8e759c1 Use 'append' helper (#21101) Andy 2018-01-10 11:13:47 -08:00
  • 743d8dbe0a Fix to remove extra space between function and array index. (#21113) Priyantha Lankapura 2018-01-10 23:00:35 +05:30
  • b9543bf617 Update initializerType when checking RHS of empty object destructure Jack Williams 2018-01-10 15:20:04 +00:00
  • da593ca7a8 Fix WeakSet interface (#19756) falsandtru 2018-01-10 15:06:06 +09:00
  • 4acdca5258 Enforce strictNullChecks for RHS of empty destructuring assignment Jack Williams 2018-01-10 01:46:36 +00:00
  • c9ef52b9d8 Do not always instantiate jsx signatures (#21108) Wesley Wigham 2018-01-09 17:22:19 -08:00
  • c0bdd12c4c add fixAwaitInSyncFunction code fix (#21069) Sharon Rolel 2018-01-09 20:15:08 -05:00
  • 03fd77657d Issue implicit any errors for mapped types without annotations (#21104) Stanislav Iliev 2018-01-10 03:11:57 +02:00
  • e48312df54 De-dup typing module completions Andrew Casey 2018-01-09 16:54:58 -08:00
  • db09a593d3 Unmangle package names from typings during completion Andrew Casey 2018-01-09 15:40:32 -08:00
  • 667751df2a When sending typings request use project's current directory as project root path This ensures that we arent picking typings from folder different from the current directory for the project Sheetal Nandi 2018-01-09 15:59:23 -08:00
  • 90a1df9d92 Add test for failure to use correct current directory in inferred project Test for #21040 Sheetal Nandi 2018-01-09 15:43:50 -08:00
  • fa758cc357 Tidy up code to make it harder to call incorrectly Andrew Casey 2018-01-09 15:33:54 -08:00
  • 8bce69e6bd Add refactoring to convert CommonJS module to ES6 module (#19916) Andy 2018-01-09 13:15:47 -08:00
  • 9aa99b90c7 Include directories in completions for path mapping (#21103) Andy 2018-01-09 13:15:30 -08:00
  • 4c8b9796d9 Update LKG Mohamed Hegazy 2018-01-09 13:09:15 -08:00
  • 533572bdd8 Merge branch 'master' into release-2.7 Mohamed Hegazy 2018-01-09 13:06:28 -08:00
  • fed34cd616 Fix bug: normalize path after combining (#21100) Andy 2018-01-09 11:54:35 -08:00
  • 191b9750c3 Clear jsDocCache for reused nodes (#21099) Andy 2018-01-09 11:22:15 -08:00
  • 82fb294924 For import fix, support path mapping value that begins in "./" or ends in ".ts" (#21035) Andy 2018-01-09 10:34:35 -08:00
  • fdd8a52240 Offer per-member diagnostics for incorrectly implemented inherited members (#21036) Wesley Wigham 2018-01-09 10:20:07 -08:00
  • ba979fa537 Delete redundant test (#21085) Andrew Casey 2018-01-09 10:11:28 -08:00
  • 5ab5694a5b Don't count self-reference in more cases (skip more nodes when setting lastNonBlockLocation) (#21095) Andy 2018-01-09 09:53:39 -08:00
  • 062f97a6fa allow const enum in type query (#21083) Wenlu Wang 2018-01-10 01:24:00 +08:00
  • ef5a289966 Merge pull request #21014 from amcasey/GH19115 Andrew Casey 2018-01-08 19:07:43 -08:00
  • 89ceb4b9b5 Support completions that require changing from dot to bracket access (#20547) Andy 2018-01-08 18:57:46 -08:00
  • 73e3e8d790 Fixes #20026 (#20157) Remo H. Jansen 2018-01-09 01:25:56 +00:00
  • c4d76292f1 Ensure visitor visits the awaitModifier of a ForOfStatement (#21078) Andy 2018-01-08 17:22:32 -08:00
  • 9efb3ac3a7 Fix this.timeout not actually applying the timeout within it blocks (#21079) Wesley Wigham 2018-01-08 16:52:58 -08:00
  • 37d4f6a69d Mark references to dynamically-named properties as used (#21010) Andy 2018-01-08 16:44:58 -08:00
  • 7e6315075d Synthesize namespace records for proper esm interop (#19675) Wesley Wigham 2018-01-08 16:36:23 -08:00
  • 859f0e3070 Add noDoubleSpaceRule to jakefile (#21077) Andy 2018-01-08 15:44:33 -08:00
  • 39dfeb0176 Add stricter parameter types for Object.values and Object.entries (#20553) Andy 2018-01-08 15:33:33 -08:00
  • 2869657da7 Update failing test Mohamed Hegazy 2018-01-08 15:22:14 -08:00
  • 30c1419ebc Merge branch 'jwbay-import-quickinfo' Mohamed Hegazy 2018-01-08 15:11:21 -08:00
  • 9ece1a5dd3 Merge branch 'master' of https://github.com/Microsoft/TypeScript Mohamed Hegazy 2018-01-08 15:00:14 -08:00
  • 804eb32208 feat(es2018): add definitions for Array.prototype.flatten and Array.prototype.flatMap (#20431) benbraou 2018-01-08 23:59:37 +01:00
  • 00d4acaad2 Port generated lib files (#21076) Mohamed Hegazy 2018-01-08 14:57:31 -08:00
  • 24114d8c05 Merge branch 'master' of https://github.com/Microsoft/TypeScript Mohamed Hegazy 2018-01-08 14:57:26 -08:00
  • a23bbe65e6 Use substring instead of substr (#20578) Andy 2018-01-08 14:54:18 -08:00
  • 45a10c8401 Merge branch 'import-quickinfo' of https://github.com/jwbay/TypeScript into jwbay-import-quickinfo Mohamed Hegazy 2018-01-08 14:43:56 -08:00
  • bd6249542f Merge branch 'benbraou-issue20410' Mohamed Hegazy 2018-01-08 14:42:57 -08:00
  • 1235f78232 Merge branch 'issue20410' of https://github.com/benbraou/TypeScript into benbraou-issue20410 Mohamed Hegazy 2018-01-08 14:42:51 -08:00
  • 464df8f699 Fix build failure with newest @types/mocha (#21075) Andy 2018-01-08 14:34:09 -08:00
  • b1a0261575 If declaration emit input is a module, output should be a module (#20626) Wesley Wigham 2018-01-08 13:58:34 -08:00
  • b2f2610b85 Use getInternalName not getLocalName (#20168) Wesley Wigham 2018-01-08 13:55:50 -08:00
  • 16a882eb8b Optimized annotation according to Spec (#19906) Jing Ma 2018-01-09 05:44:49 +08:00
  • b18ee65418 Add Related section (#20151) falsandtru 2018-01-09 06:35:28 +09:00
  • c632e44350 Merge branch 'master' into issue20410 Mohamed Hegazy 2018-01-08 13:28:59 -08:00
  • 7154df10df add support for insertSpaceBeforeTypeAnnotation (#20466) Wenlu Wang 2018-01-09 05:25:02 +08:00
  • 6d596c058e Merge pull request #20726 from kujon/indexable_types Daniel Rosenwasser 2018-01-08 13:23:39 -08:00
  • 0ecdc876f3 imporve conditional operator if missing colon token (#20498) Wenlu Wang 2018-01-09 05:16:17 +08:00
  • a82d1f8580 ignore Initial check if left of DestructuringAsignment (#20906) Wenlu Wang 2018-01-09 05:13:23 +08:00
  • 06c9a28b36 fix narrowType check with template literals (#21024) Wenlu Wang 2018-01-09 05:06:58 +08:00
  • 5bc78afcbb Merge branch 'master' into builderApi Sheetal Nandi 2018-01-08 12:43:25 -08:00
  • 86eab34758 type-operator-spacing: Just check for presence of space, not double-space (#20817) Andy 2018-01-08 12:29:43 -08:00
  • 6d361f89e3 Move isObjectLiteralElement to public utilities (#20605) Andy 2018-01-08 12:29:21 -08:00
  • 97c3e9c3ef Support all path mappings that end in "*" in completions (#21072) Andy 2018-01-08 12:28:50 -08:00
  • 84e3681b79 Support timeouts in the parallel runner (#20631) Wesley Wigham 2018-01-08 12:28:04 -08:00
  • b5fda4970d Use emptyObjectType for omitted members instead of unknownType (#20940) Wesley Wigham 2018-01-08 12:27:11 -08:00
  • 20c846d671 Add helper functions to simplify getCompletionEntryDisplayNameForSymbol (#20552) Andy 2018-01-08 11:48:25 -08:00
  • fd5ed5ac79 Have Set and Map constructors take ReadonlyArrays (#20606) Andy 2018-01-08 11:39:52 -08:00
  • 50fa0f61f5 Fix bug: Resolve module symbol before checking whether module export is a re-export (#20989) Andy 2018-01-08 11:33:57 -08:00
  • f34de1a1ca Support find-all-references starting from a reference path or reference types comment (#21007) Andy 2018-01-08 11:33:14 -08:00
  • fef7ad4986 Remove unncessary existence check (#21029) Andy 2018-01-08 11:30:36 -08:00
  • 1b2dc828d0 Fix lint failure (#21073) Andy 2018-01-08 11:25:06 -08:00
  • c6443f02af Merge pull request #21066 from Microsoft/UpdateSearchGuidelines Ryan Cavanaugh 2018-01-08 10:40:05 -08:00
  • fc18f08e63 Remove 'indexOf' helper, use 'arr.indexOf()' (#20194) Andy 2018-01-08 10:39:52 -08:00
  • f83283c068 Improve parse error for double comma somewhere inside a call expression (#20399) Andy 2018-01-08 10:38:55 -08:00
  • 7e150a914e Remove mutually-recursive functions (#20425) Andy 2018-01-08 10:38:11 -08:00
  • 76eafe0e75 Fix invalid cast (#20426) Andy 2018-01-08 10:37:48 -08:00
  • c51dfa5596 Port generated lib files (#21071) Mohamed Hegazy 2018-01-08 10:35:13 -08:00