Commit Graph

  • 587ac1479d Merge branch 'main' into server-vfs-support Nathan Shively-Sanders 2022-03-14 13:20:19 -07:00
  • afecf6387e try to add a step to test (it fails) Nathan Shively-Sanders 2022-03-14 13:19:35 -07:00
  • 5f017df609 Fix top level logical assignment leak (#40536) Wenlu Wang 2022-03-15 01:48:31 +08:00
  • 4a58fbce17 fix(48081): omit error on importing variables defined with require() (#48115) Oleksandr T 2022-03-14 18:55:12 +02:00
  • ca65a1a05b Add boolean to supported literals within Object.freeze (#48117) Mateusz Burzyński 2022-03-14 17:07:31 +01:00
  • 995e0a0601 Update package-lock.json TypeScript Bot 2022-03-14 06:06:27 +00:00
  • 6f0dd47a88 Update package-lock.json TypeScript Bot 2022-03-12 06:06:33 +00:00
  • ce9657d5e2 Introduce set with custom equals and getHashCode (#48169) Andrew Casey 2022-03-11 16:17:54 -08:00
  • a65bff258a Revise parse for infer..extends, improve parenthesizer inferTypeExtendsWithTemplateInference Ron Buckton 2022-03-11 11:14:14 -08:00
  • 93c3a30edc Add assertion on invalid cache set (#43845) Wesley Wigham 2022-03-11 10:57:22 -08:00
  • e397ed1e38 Cherry-pick PR #48207 into release-4.6 (#48213) TypeScript Bot 2022-03-11 10:37:41 -08:00
  • d1fa945261 Add moduleDetection compiler flag to allow for changing how modules are parsed (#47495) Wesley Wigham 2022-03-11 10:36:00 -08:00
  • 0271738047 Properly reduce intersections to never in identity relation (#48111) Anders Hejlsberg 2022-03-11 10:18:04 -08:00
  • 04238e6f52 Fix/dependent parameters obj methods (#48110) Mateusz Burzyński 2022-03-11 18:46:30 +01:00
  • 5fd0b6432e Clean up a load of unused dependencies, broken jake script (#48214) Jake Bailey 2022-03-11 09:36:03 -08:00
  • a4f5555e09 Move hasOwn from Object instance to Object constructor (#48207) Ryan Cavanaugh 2022-03-10 15:28:47 -08:00
  • 3f63804878 Make direct assignments to cjs exports considered literal contexts (#39816) Wesley Wigham 2022-03-09 13:27:39 -08:00
  • f76452cb27 Fix conditional type type parameter leak (#31455) Wesley Wigham 2022-03-09 13:25:14 -08:00
  • fc82c67357 Don't eagerly simplify reducible generic union index types (#46812) Wesley Wigham 2022-03-09 12:02:11 -08:00
  • ea4791d4d7 Preserve the homomorphism of inlined mapped types in declaration emit (#48091) Wesley Wigham 2022-03-09 10:31:54 -08:00
  • c70be8b501 Handle nonmaster branches in user suite tests (#48128) Wesley Wigham 2022-03-09 10:31:16 -08:00
  • 918f0ef404 Rename SyntaxKind.JSDocComment -> JSDoc (#44416) Nathan Shively-Sanders 2022-03-09 09:51:29 -08:00
  • 287b6a53d4 New test better tests UpdateFileSystem Nathan Shively-Sanders 2022-03-09 08:41:07 -08:00
  • 94a7ec17e0 🤖 Sync option descriptions <- website (#46465) Jack Bates 2022-03-08 16:55:13 -07:00
  • af027f34fa Bail on 0- and 1-length lists in removeSubtypes to avoid spurious circularity problems (#46981) Ryan Cavanaugh 2022-03-08 08:50:07 -08:00
  • 51680a1faa Addressing some comments Matt Bierner 2022-03-07 18:42:57 -08:00
  • d8b21a8d6c Don't crash on non-literal computed property names during getPropertyAssignment (#48079) Jake Bailey 2022-03-07 14:18:55 -08:00
  • 418989b3c3 Tidy up navto and find-file-references (#48106) Andrew Casey 2022-03-07 10:56:04 -08:00
  • 367ef6d3c4 Fix tracing id fix44572-2 Anders Hejlsberg 2022-03-07 10:23:28 -08:00
  • 160490c633 Test is now passing Nathan Shively-Sanders 2022-03-07 10:00:03 -08:00
  • 08c0fa9acd Limit structural traversal to only types containing marker types Anders Hejlsberg 2022-03-07 09:40:32 -08:00
  • a3230370dd Accept new baselines Anders Hejlsberg 2022-03-06 12:12:58 -08:00
  • 466bcb2b93 Always fully compute variances structurally Anders Hejlsberg 2022-03-06 12:12:38 -08:00
  • 20c93d3b1d LEGO: Merge pull request 48129 csigs 2022-03-05 02:50:20 -08:00
  • 5f6ebf9d78 Show error when trying to instantiate a union of abstract and concrete constructors (#48114) jihndai 2022-03-04 21:39:05 -04:00
  • c1783b28e7 Add a test for emit of a computed property based on an aliased symbol (#47978) Mateusz Burzyński 2022-03-05 02:35:19 +01:00
  • 857889a4e6 Fix crash when this is typed as a generic T with no type constraints (#47991) jihndai 2022-03-04 21:08:44 -04:00
  • 82fc9b19ba fix(43154): emit typeof type for static methods with a computed name (#46923) Oleksandr T 2022-03-05 03:07:38 +02:00
  • d12020d8b0 Describe jsxFragmentFactory option default value (#46798) Jack Bates 2022-03-04 18:03:55 -07:00
  • 162713fac9 fix(40617): handle uninitialized class member with computed key (#45974) Oleksandr T 2022-03-05 02:03:36 +02:00
  • f9ae305dda support generic type when checking implicit conversion of symbol to string (#44578) Zzzen 2022-03-05 07:57:34 +08:00
  • 774899f8b9 Note git's core.longpaths in CONTRIBUTING (#45069) Nathan Shively-Sanders 2022-03-04 15:45:10 -08:00
  • 751c114126 Fix contextual discrimination for omitted members (#43937) Erik Brinkman 2022-03-04 17:07:37 -05:00
  • ae62da9413 Fixes #35735: Avoids listing missing properties for types with only call/construct signatures (#40973) liewrichmond 2022-03-04 16:54:38 -05:00
  • 34a83a370d Allow configure plugin requests against any web servers in partial semantic mode Matt Bierner 2022-03-04 13:40:03 -08:00
  • 5f9f9e3752 fix(44477): emit full path to access expressions in comments (#44545) Oleksandr T 2022-03-04 21:22:46 +02:00
  • 6224ddcc01 Test gets further than before Nathan Shively-Sanders 2022-03-04 10:57:57 -08:00
  • 4abad556be Prevent crash on code fixes on default keyword (#48028) Jake Bailey 2022-03-04 10:43:04 -08:00
  • 3b5b906293 Merge branch 'templateLiteralTypeInferToNonString' into inferTypeExtendsWithTemplateInference Ron Buckton 2022-03-04 10:34:06 -08:00
  • bafe1931a3 Add 'extends' clause to 'infer' type Ron Buckton 2022-03-03 14:47:07 -08:00
  • 1f52ca8441 Require tag parameter and allow Locale object as argument to Intl.Locale() constructor (#48019) jihndai 2022-03-04 13:04:57 -04:00
  • 39013f1a78 LEGO: Merge pull request 48119 csigs 2022-03-04 02:50:09 -08:00
  • ddad61e1b0 Add an overload to Object.freeze that preserves literal types (#33767) Wesley Wigham 2022-03-03 14:23:41 -08:00
  • 0a24dee97d fix: add this type for Reflect.defineProperty (#33544) PaulHan 2022-03-04 03:01:12 +08:00
  • 91f47f7f38 Try to make test behave same as existing one Nathan Shively-Sanders 2022-03-03 10:31:55 -08:00
  • 112dd24ede Add test for call (#48015) Jake Bailey 2022-03-03 09:40:10 -08:00
  • 06d426c966 Fix const enum comments (#47990) magic-akari 2022-03-04 01:10:02 +08:00
  • ed2be49602 More specific inference for constrained 'infer' types in template literal types Ron Buckton 2022-03-02 14:25:20 -08:00
  • b46f196929 Add regression test Anders Hejlsberg 2022-03-02 13:25:49 -08:00
  • 63b1229eb0 Accept new baselines Anders Hejlsberg 2022-03-02 13:25:41 -08:00
  • b615109b61 Unify signatures in signaturesRelatedTo Anders Hejlsberg 2022-03-02 13:25:13 -08:00
  • f82d0cb329 Add explicit assertion on somewhat commonly incorrectly passed argument (#48078) Wesley Wigham 2022-03-02 09:13:42 -08:00
  • ea0db9e031 Add import assertions to type only imports and import types to force the resolution mode of the specifier (#47807) Wesley Wigham 2022-03-02 08:54:10 -08:00
  • ff1f7b15b7 Esm imports of cjs files should unconditionally have a default patched on (#48062) Wesley Wigham 2022-03-02 08:53:31 -08:00
  • 6afd93989e Split fakesHosts and some utils into vfs. Nathan Shively-Sanders 2022-03-02 07:18:37 -08:00
  • ed45f058df Update package-lock.json TypeScript Bot 2022-03-02 06:06:38 +00:00
  • d059791728 Track if incomplete variances have been observed Anders Hejlsberg 2022-03-01 17:02:58 -08:00
  • de4a166905 Add tests Anders Hejlsberg 2022-03-01 14:55:42 -08:00
  • fc15aa2bf0 Only permanently record non-nested getVariancesWorker results Anders Hejlsberg 2022-03-01 14:54:51 -08:00
  • 063714886e fix(47946): check literal types in export assignments with declared JSDoc types (#47951) Oleksandr T 2022-03-02 00:44:36 +02:00
  • 014dc3dc89 🤖 Pick PR #48067 (Fix incorrect parser error assumpti...) into release-4.6 (#48068) TypeScript Bot 2022-03-01 10:22:42 -08:00
  • eb22b4f8c4 Everything builds and tests pass Nathan Shively-Sanders 2022-03-01 10:18:22 -08:00
  • e64f04bd8c Fix modifier order for class member completions (#48066) Gabriela Araujo Britto 2022-03-01 15:05:24 -03:00
  • 9e0e980c7b create vfs project Nathan Shively-Sanders 2022-03-01 09:58:59 -08:00
  • da2622cc7b initial scribbles Nathan Shively-Sanders 2022-03-01 09:56:48 -08:00
  • e4fe50cca4 Fix incorrect parser error assumption in semicolon handling leading to incremental parser brokenness (#48067) Jake Bailey 2022-02-28 17:05:32 -08:00
  • 71918750f9 Use full isReadonlySymbol check rather than declaration flags (#48064) Wesley Wigham 2022-02-28 14:35:33 -08:00
  • 1abc47b882 Add Intl.Locale parameter type to toLocale[X]String signatures. (#47811) jihndai 2022-02-28 18:10:18 -04:00
  • 03c11c8f70 Add missing getReducedType call in getConditionalTypeInstantiation (#48061) Wesley Wigham 2022-02-28 13:41:10 -08:00
  • 41b981c998 fix(47853): Convert to template string issue (#47976) Zzzen 2022-03-01 02:40:48 +08:00
  • 0043abe982 Expose text property of SourceFileLike for some Public APIs (#44599) Nobuyuki Tsutsui 2022-02-26 07:29:08 +09:00
  • 2dede207ae Don't treat a colon in a conditional expression branch as part of an arrow function (#47550) Jake Bailey 2022-02-25 13:08:18 -08:00
  • dda65830de go-to-type-definition, and find-all-refs should work for import.meta (#44364) Zzzen 2022-02-26 01:02:06 +08:00
  • 6acfd1ffb2 Insiders updates and LKG release-4.6-insiders Daniel Rosenwasser 2022-02-25 00:16:00 +00:00
  • 733eff2b10 Revert "Use related spans for "implement abstract class" errors" (#48029) Gabriela Araujo Britto 2022-02-24 21:15:31 -03:00
  • dada02a19e Merge branch 'FlyingPumba-related-spans-for-implement-abstract-class-error' Gabriela Araujo Britto 2022-02-24 16:12:25 -08:00
  • 4b395c6097 Merge branch 'related-spans-for-implement-abstract-class-error' of https://github.com/FlyingPumba/TypeScript into FlyingPumba-related-spans-for-implement-abstract-class-error Gabriela Araujo Britto 2022-02-24 16:11:03 -08:00
  • 29c7ae23ca Update package-lock.json TypeScript Bot 2022-02-24 06:06:28 +00:00
  • 53d90b6636 use default export from plugins Matt Bierner 2022-02-23 17:11:52 -08:00
  • ff3b458714 fix(47158): Removes comments when line variable declaration (#47407) islandryu 2022-02-24 02:33:41 +09:00
  • 78ee4cacaf 🤖 Pick PR #47927 (Don't error if binding pattern type...) into release-4.6 (#48005) v4.6.2 4.6-insider-branch TypeScript Bot 2022-02-23 00:56:14 -08:00
  • 78818e0390 early return if pattern type is never (#47927) Gabriela Araujo Britto 2022-02-22 22:34:02 -03:00
  • aa920c00f2 fix(47296): add outlining spans for parenthesized expressions (#47307) Oleksandr T 2022-02-22 22:12:12 +02:00
  • 2d85e1e8fe Update package-lock.json TypeScript Bot 2022-02-22 06:07:32 +00:00
  • f4fe064b38 Bump version to 4.6.2 and LKG TypeScript Bot 2022-02-22 03:56:28 +00:00
  • 8f9b65318f LEGO: Merge pull request 47985 csigs 2022-02-21 02:54:45 -08:00
  • a7548745d7 LEGO: Merge pull request 47973 csigs 2022-02-20 02:50:12 -08:00
  • 9636585452 Update package-lock.json TypeScript Bot 2022-02-20 06:06:19 +00:00
  • 1ad569fa3d LEGO: Merge pull request 47967 csigs 2022-02-19 03:09:46 -08:00
  • ec6ae0f26c Cherry-pick PR #47959 into release-4.6 (#47962) TypeScript Bot 2022-02-18 16:39:47 -08:00