Commit Graph
26450 Commits
Author SHA1 Message Date
Nathan Shively-SandersandGitHub 190d70962a Update DOM before 5.3 beta (#55798) 2023-09-20 11:24:51 -07:00
Maria José SolanoandGitHub 0b82e1a03f Interactive type inlay hints (#55141) 2023-09-19 22:50:11 -07:00
1a68590c9c Mark more options as affecting errors/resolution (#53403)
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-09-19 15:11:21 -07:00
Mateusz BurzyńskiandGitHub 6e01b06616 Use const context in intersections containing const type variables (#55779) 2023-09-19 14:26:14 -07:00
Oleksandr TandGitHub 79736eff89 fix(55258): JSDoc render with @param Object properties (#55264) 2023-09-19 14:00:32 -07:00
Mateusz BurzyńskiandGitHub 1f88596bb1 Narrow by comparisons to boolean literals (#53714) 2023-09-19 13:38:31 -07:00
Mateusz BurzyńskiandGitHub 0464e91c8b Fixed an issue with type-only import promoting (#55365) 2023-09-18 12:38:00 -07:00
Mateusz BurzyńskiandGitHub 70b7de11fb Narrow by clause expressions in switches with true condition (#53681) 2023-09-18 12:07:17 -07:00
9cbcf010ce Ensure generated property names for methods named "new" are quoted (#55750)
Co-authored-by: Mateusz Burzyński <mateuszburzynski@gmail.com>
2023-09-15 10:25:10 -07:00
b3770e7852 🐛 Fix not emitting comments between sibling fields of object literals (#50097)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-09-14 21:29:34 -07:00
e654f9691a Allow unescaped paragraph and line separators in string literal (#53869)
Co-authored-by: Liviu Gheorghe <liviu.gheorghe@ivfuture.uk>
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-09-14 20:59:25 -07:00
Mateusz BurzyńskiandGitHub e9af22ace9 Consistently return errorType for super expressions in classes that extend null (#55506) 2023-09-14 19:31:50 -07:00
Anders HejlsbergandGitHub 58650d97c5 Fix narrowing of destructured tuples with different arities (#55744) 2023-09-14 13:06:48 -07:00
Sheetal NandiandGitHub fc418a2e61 Special case "/workspaces" for watching root so that codespaces work correctly (#55738) 2023-09-14 11:34:19 -07:00
Mateusz BurzyńskiandGitHub e6321d77c7 Fixed element access expression writes for divergent write types (#55585) 2023-09-13 16:14:07 -07:00
c0b39c6967 Skip parsing JSDoc when not needed (#52921)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
Co-authored-by: Sheetal Nandi <shkamat@microsoft.com>
2023-09-13 15:58:20 -07:00
Mateusz BurzyńskiandGitHub 21b8892d21 Fixed an issue with errors not being correctly reported after completion requests in functions within nested calls (#54944) 2023-09-13 15:48:40 -07:00
Oleksandr TandGitHub 05fdb5f671 fix(54266): Navtree doesn't return computed class members (#54271) 2023-09-13 14:50:48 -07:00
Andrew BranchandGitHub 07bca994fa Avoid unnecessary resolution-mode assertion in declaration emit (#55727) 2023-09-13 13:31:19 -07:00
Jake BaileyandGitHub b9b5d16bd5 Add friendly name to intrinsics in debug helpers (#55554) 2023-09-13 12:42:44 -07:00
Mateusz BurzyńskiandGitHub 4c34a181c3 Fixed declaration emit for expando properties on function declarations declared using element access expressions (#55183) 2023-09-13 12:07:33 -07:00
Mateusz BurzyńskiandGitHub 647c41d26e Fixed JSDoc get-only accessors to be serialized as const (#55444) 2023-09-13 11:38:56 -07:00
Mateusz BurzyńskiandGitHub f996bab056 Preserve readonly on mapped index signatures (#55541) 2023-09-13 11:34:50 -07:00
ZzzenandGitHub 811a637e6f Fix issue with optional chaining and type inference in type guard (#55613) 2023-09-13 11:28:26 -07:00
Mateusz BurzyńskiandGitHub 543d7ed00c Fixed display of optional and rest parameters created as result of combining union parameters (#55625) 2023-09-13 11:25:19 -07:00
Jake BaileyandGitHub 3f0c62bf02 Fix test harness bugs hidden by method behavior (#55723) 2023-09-13 10:15:14 -07:00
Jack WorksandGitHub e7bb0ebfac refactor: let exportMapKey accepts bad symbol name (#54678) 2023-09-13 09:39:05 -07:00
Sheetal NandiandGitHub 3ade5022d7 Fix file matching with tsx and dts of same name are included by include patterns (#55690) 2023-09-12 13:10:34 -07:00
Sheetal NandiandGitHub 3bc41784f0 Fix issue with wildcard with supported extensions when plugins add external files and override getScriptKind to add script kinds for the additional extensions (#55716) 2023-09-12 11:52:49 -07:00
Oleksandr TandGitHub a0c51b5336 fix(55694): format issues (#55721) 2023-09-12 11:36:03 -07:00
Mateusz BurzyńskiandGitHub 4b0f54fe9f Fixed cache key computation for tuple target types with partially named members (#55695) 2023-09-11 14:41:08 -07:00
Anders HejlsbergandGitHub 4f899a1691 Track recursive homomorphic mapped types by the symbol of their target (#55638) 2023-09-11 14:03:00 -07:00
eb2d1f93f2 Fix an off-by-one error in getBaseDirectoriesFromRootDirs (#55233)
Co-authored-by: Phoebe Szmucer <pszmucer@palantir.com>
2023-09-11 07:57:50 -07:00
Sheetal NandiandGitHub dd18dc1dac If outDir is not specified, dont need to include json files explicitly in the config since they will not be emitted (#55389) 2023-09-08 12:23:13 -07:00
Mustafa Ateş UzunandGitHub c532603633 fix: type key typo (#55443) 2023-09-07 14:53:19 -07:00
Gabriela Araujo BrittoandGitHub b5d6aa73d1 Add option to exclude library symbols from navTo results (#55605) 2023-09-07 11:19:56 -07:00
Jake BaileyandGitHub 41a914f00d Don't debug assert on broken link in moduleNameResolver (#55649) 2023-09-06 12:00:18 -07:00
ZzzenandGitHub c68d1dd942 error on duplicate symbols in classes (#55438) 2023-09-01 16:25:22 -07:00
Jake BaileyandGitHub 0f91f7dff6 Run dprint on json (#55602) 2023-09-01 15:26:01 -07:00
Gabriela Araujo BrittoandGitHub cbadc78f96 Return all symbols in navto for empty string pattern (#55550) 2023-08-30 15:30:38 -07:00
Oleksandr TandGitHub fe82a610cd fix(55014): Quick fix for ts7051 introduces incorrect type (#55020) 2023-08-30 15:17:43 -07:00
Mateusz BurzyńskiandGitHub f424a6be05 Discriminate types with divergent read/write property types (#55576) 2023-08-30 14:55:11 -07:00
ZzzenandGitHub c5f92d4150 support generic variant setter (#55030) 2023-08-29 14:11:33 -07:00
Mateusz BurzyńskiandGitHub 9f9a72a2eb Disallow object prototype property access on const enums (#55424) 2023-08-28 19:29:52 -07:00
Mateusz BurzyńskiandGitHub 418494e4c4 Infer from parameters annotated using JSDoc (#55400) 2023-08-28 16:02:52 -07:00
Mateusz BurzyńskiandGitHub 32ebbe05dc Transfer all declared symbols onto the type from the interface that extends another (#55252) 2023-08-28 15:17:44 -07:00
Mateusz BurzyńskiandGitHub 9a6a4ab1d5 Fixed a string completions regression when requested directly in argument position (#55552) 2023-08-28 15:04:06 -07:00
Mateusz BurzyńskiandGitHub fe70ec984e Parse reserved identifiers as dotted names of ambient modules (#55282) 2023-08-28 14:48:20 -07:00
Jake BaileyandGitHub b5b6048bb3 Clean up helpers which are always present in ES2020 (#55515) 2023-08-28 12:26:22 -07:00
Wesley WighamandGitHub 5ce34cafad Avoid trying to emit anonymous classish/expando functions as assignments (#55472) 2023-08-28 12:15:53 -07:00