Граф коммитов

34781 Коммитов

Автор SHA1 Сообщение Дата
Andrew Branch 52a8061e11
Type-only auto-import improvements (#53590) 2023-03-30 12:01:40 -07:00
Sheetal Nandi 0ee51b96dc
More baselining for timeouts that make furture changes easier (#53579) 2023-03-30 09:48:34 -07:00
Andrew Branch 5586727193
Allow getter and setter types to be unrelated (#53417) 2023-03-30 08:51:01 -07:00
Jake Bailey 7bde5efe94
Update azure-devops-node-api (#53370) 2023-03-29 16:29:39 -07:00
Mateusz Burzyński ae2b4afdcb
Provide string completions within unions in indexed access types (#53225) 2023-03-29 10:07:34 -07:00
Sheetal Nandi d105b6a994
More baselining for future changes (#53564) 2023-03-29 00:47:37 -07:00
TypeScript Bot 4d4d5f2845 Update package-lock.json 2023-03-29 06:17:04 +00:00
Oleksandr T b6fed21a87
fix(53347): Incorrect generated JS code when private (hashtag) property is used with parenthesis in left assignment (#53434) 2023-03-28 13:24:36 -04:00
Iván 2b57a88b72
Use related spans for "implement abstract class" errors (#48030)
Co-authored-by: Gabriela Araujo Britto <gabrielaa@microsoft.com>
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-03-28 07:54:36 -07:00
TypeScript Bot 647c587e46 Update package-lock.json 2023-03-28 06:22:57 +00:00
Mateusz Burzyński 089876a5c5
Retry string completions from the inferred type by default (#53481) 2023-03-27 18:21:03 -07:00
Maria José Solano 6e44db7d1d
Don't capture type parameters defined inside the extraction range with "Extract to function" (#53543) 2023-03-27 18:12:41 -07:00
Ron Buckton 85ef01d31a
Fix double-emit in constructor (#53547) 2023-03-27 18:16:49 -04:00
Jake Bailey 3efcfcb70c
Cache getConstraintOfDistributiveConditionalType (#53358) 2023-03-27 14:12:06 -07:00
Jake Bailey b34371a444
Fix baselines after bad merge (#53546) 2023-03-27 14:09:19 -07:00
Zzzen 8e08f38a08
fix(53006): generate let in namespaces for expando (#53206) 2023-03-27 13:26:14 -07:00
Maria José Solano c5b288487a
Don't error when function has an implicit return but its return type is assignable to `undefined` (#53490) 2023-03-27 13:21:07 -07:00
Oleksandr T 437fd059be
fix(53257): Illegal .d.ts class property definition for "constructor" generated from JavaScript (#53266) 2023-03-27 11:32:10 -07:00
TypeScript Bot f64f40d205 Update package-lock.json 2023-03-26 06:17:45 +00:00
TypeScript Bot a7a0a673db Update package-lock.json 2023-03-25 06:16:32 +00:00
形素叢集・ぐらふぃーむ c2dc2fd9b9
fix(396): (Dis)allow Octal and Bad Escape Sequences in String and (Tagged) Template Literals (#51837) 2023-03-24 16:15:50 -07:00
TypeScript Bot 24373d80ec Update package-lock.json 2023-03-24 06:19:39 +00:00
Sheetal Nandi e47e1266dc
Add current directory, useCasesensitive file names to each baseline (#53483) 2023-03-23 21:14:22 -07:00
Jake Bailey ac55b297b7
Upgrade "boolean-trivia" lint to new "argument-trivia" lint that uses type info, has quick fixes, etc. (#53002) 2023-03-23 16:26:39 -07:00
Andrew Branch 3a3146e25f
Add tests for completions crash (#53472) 2023-03-23 15:59:43 -07:00
Jake Bailey 9bd1a3225b
Revert PR #53255 (#53464) 2023-03-23 12:52:05 -07:00
Sheetal Nandi c66f8de7c8
Fix incorrect assert about configFileName when watch is created with explicit options, projectReferences etc (#53468) 2023-03-23 12:40:09 -07:00
Mateusz Burzyński 218180ded2
Fixed an issue with an incorrect resolved signature being cached/returned sometimes for signatures depending on the contextual type/outer inference (#52146) 2023-03-23 12:15:33 -07:00
Wesley Wigham 916f9b7344
Handle jsx runtime implicit synthetic import in find all references (#51319) 2023-03-23 12:08:52 -07:00
Gabriela Araujo Britto 89478254c8
Defer type comparability check for assertions (#53261) 2023-03-23 11:46:42 -07:00
Gabriela Araujo Britto d5fd34b037
Don't error when calling `resolveEntityName` (#53441) 2023-03-23 10:49:53 -07:00
Lyu, Wei-Da 5712730c2d
fix: non-relative path completion without baseUrl (#52908) 2023-03-23 08:57:57 -07:00
Anders Hejlsberg 511921e1e2
Improve detection of cases where subtype reduction is unnecessary (#53435) 2023-03-23 07:09:12 -07:00
Anders Hejlsberg 37bafa539c
Exclude comparable relation from literal type relation optimization (#53419) 2023-03-23 07:04:16 -07:00
Anders Hejlsberg 25550bd3d6
Exclude special index signature rule from strict subtype relation (#53388)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-03-23 07:03:09 -07:00
Andrew Branch 7009c76d00
Support wildcard exports in tsconfig lookup (#53443) 2023-03-22 15:21:50 -07:00
Daniel Rosenwasser f6f6cb893f
Include type parameters in tagged template literals in `isPartOfTypeNode` (#53428) 2023-03-22 14:04:34 -07:00
Sheetal Nandi 1b745df857
Adding baseline methods for verification of findAllRefs, GoTo*, Occurrences, highlights and rename deprecating the corresponding verification methods from fourslash tests (#52576) 2023-03-22 14:02:18 -07:00
Eric Ferreira a82b9274b5
Fix the type of `copyWithin` (#53340) 2023-03-22 10:54:49 -07:00
Lyu, Wei-Da 9f18c3fd9c
fix: escape module specifier for snippet after quoted (#53407) 2023-03-22 10:19:16 -07:00
David Sherret 1761a67ff8
perf: ensure compiler options affecting semantic diagnostics get included in build info (#53423) 2023-03-22 09:54:17 -07:00
TypeScript Bot 1df5717b12 Update package-lock.json 2023-03-22 06:21:51 +00:00
Jake Bailey 2c952fe850
Remove redundant throws of Debug.assertNever (#53405) 2023-03-21 16:04:06 -07:00
Mateusz Burzyński 3f90887a6e
Optimize the transformed output of `JSXSpreadAttribute`s containing an `ObjectLiteralExpression` (#49100) 2023-03-21 15:47:35 -07:00
Jake Bailey 01de7885a4
Avoid calculating union in spread if property types are identical (#53413) 2023-03-21 14:44:47 -07:00
Oleksandr T 01a7a3e146
fix(53289): TypeScript cannot auto-complete keyword typeof (#53325) 2023-03-21 13:51:08 -07:00
Oleksandr T c5b539dcd5
fix(53372): TypeScript cannot auto-complete keyword extends (#53418) 2023-03-21 13:12:38 -07:00
SHIMA RYUHEI 84a09c762b
Accurate constraintType for indexedAccessType (#53059) 2023-03-21 12:54:05 -07:00
Anders Hejlsberg 3d2c3442db
Fix recursive type inference (#53396) 2023-03-21 12:53:16 -07:00
Anders Hejlsberg bace6897e2
Fix subtype reduction involving type variables with union constraints (#53351) 2023-03-21 12:52:05 -07:00