Commit Graph
36555 Commits
Author SHA1 Message Date
Sheetal NandiandGitHub 8b87de1750 Baseline for watches to only add watch state if there is change and include typing installer baselines into tsserver baselines (#52901) 2023-03-01 14:10:51 -08:00
Jake BaileyandGitHub 4c7e327981 Uncomment gitlens option in template (#53052) 2023-03-01 13:22:31 -08:00
Wesley WighamandGitHub 958487beda Mark indexed access object type comparisons as unreliable (#52106) 2023-03-01 13:07:44 -08:00
Oleksandr TandGitHub 211a60dc79 fix(52444): "... is a type and must be imported using a type-only import ..." should have a quick fix (#52565) 2023-03-01 12:20:56 -08:00
Mateusz BurzyńskiandGitHub fc756ebc17 Use missingType instead of undefinedType for optional methods under exactOptionalPropertyTypes (#52519) 2023-03-01 11:25:39 -08:00
Sheetal NandiandGitHub dcc766f2b2 Remove long deprecated occurrences request (#52347) 2023-03-01 10:59:07 -08:00
Mateusz BurzyńskiandGitHub 080f9c1c3f Fixed false positive errors in empty optional binding patterns in declaration signatures (#50816) 2023-03-01 10:58:37 -08:00
Sheetal NandiandGitHub 9c5b09cd21 Updates to type reference directive resolution and module resolution when failed (#51715) 2023-03-01 10:57:47 -08:00
Jake BaileyandGitHub d8ba799f89 Also set javascript.unstable for organize imports in settings.json (#53047) 2023-03-01 10:51:11 -08:00
Mateusz BurzyńskiandGitHub 58ee54c2aa Resolve contextual computed properties with non-bindable names (#51915) 2023-03-01 10:12:18 -08:00
Ron BucktonandGitHub 73a98aee00 Add tests for Awaited<null> and Awaited<undefined> (#52960) 2023-03-01 12:56:42 -05:00
1b692dec96 convert JSDoc typedef to type, issue 50644 (#51430)
Co-authored-by: Brenda Huang <brehuang@linkedin.com>
2023-03-01 09:43:08 -08:00
Mateusz BurzyńskiandGitHub 02885b1a2e Fixed an issue with top function type being callable with no arguments (#52387) 2023-03-01 09:35:36 -08:00
Jake BaileyandGitHub 6b75ce23ce Completely remove Push type (#52133) 2023-03-01 09:34:59 -08:00
Jake BaileyandGitHub 941b30c975 Pin all of the deps besides @types/node and @octokit/rest (#53026) 2023-02-28 22:58:00 -08:00
Jake BaileyandGitHub ca1cf3dd85 Deprecate UnderscoreEscapedMap and remove internal uses (#53032) 2023-02-28 16:55:29 -08:00
Mateusz BurzyńskiandGitHub c6b384ce5c Add an extra test case for an aliased mapped type inference (#52742) 2023-02-28 16:07:47 -08:00
Pedro NachtandGitHub 8f40d5633f Add the OpenSSF Scorecard GitHub Action (#52103)
Signed-off-by: Pedro Kaj Kjellerup Nacht <pnacht@google.com>
2023-02-28 16:00:42 -08:00
57394450db lib Fix Part 1/6 – WeakMap constructor (#50449)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-02-28 14:14:30 -08:00
VitalyandGitHub 0e357f510b Exclude literal completions after closing quote and JSX attribute location (#52676) 2023-02-28 13:31:30 -08:00
Jake BaileyandGitHub a0374077dd Remove createUnderscoreEscapedMultiMap (#53029) 2023-02-28 13:21:20 -08:00
Anders HejlsbergandGitHub 74814345ce Omit intersection property check when source includes target (#53012) 2023-02-28 06:57:10 -08:00
Jake BaileyandGitHub e2283e99b4 Downgrade glob to v8 to fix build (#53015) 2023-02-27 23:05:16 -08:00
TypeScript Bot 710bb91b94 Update package-lock.json 2023-02-28 06:07:08 +00:00
c97ddac60d Run lint in parallel with runtests-parallel (#52945)
Co-authored-by: Daniel Rosenwasser <DanielRosenwasser@users.noreply.github.com>
2023-02-27 11:06:20 -08:00
Daniel RosenwasserandGitHub 7a0061aa96 Remove most direct uses of factory from src/compilers/transformers (#52957) 2023-02-27 11:05:41 -08:00
Jake BaileyandGitHub 6fe711f85a Remove unused eslint-disable directives (#52987) 2023-02-27 11:01:37 -08:00
TypeScript Bot 835fff8106 Update package-lock.json 2023-02-27 06:07:17 +00:00
Daniel RosenwasserandGitHub 4374ffd628 Bump version to 5.1, fix 'ignoreDeprecations', and update baselines. (#52975) 2023-02-26 20:56:07 -08:00
TypeScript Bot 20d4479b24 Update package-lock.json 2023-02-26 06:06:27 +00:00
Andrew BranchandGitHub e9868e96e8 --moduleResolution bundler: Require ESM for module and remove node from hard-coded conditions (#52940) 2023-02-24 15:49:08 -08:00
Daniel RosenwasserandGitHub 3f7bf69ddf Destructure common factory methods in the parser. (#52920) 2023-02-24 12:52:30 -08:00
TypeScript Bot 4416d548cb Update package-lock.json 2023-02-24 06:07:01 +00:00
Mateusz BurzyńskiandGitHub 1a76569a78 Retry querying string completions from the inferred type if the original completions request doesn't return anything (#52875) 2023-02-23 12:13:30 -08:00
TypeScript Bot f2df10fc83 Update package-lock.json 2023-02-23 06:06:55 +00:00
Ron BucktonandGitHub 8becdf2b40 Fix emit for nested object rest in assignment pattern (#52922) 2023-02-22 20:41:09 -05:00
Jake BaileyandGitHub 718e63b9c9 Add links to github above big var blocks (#52925) 2023-02-22 17:01:15 -08:00
Jake BaileyandGitHub b39f10f651 Switch to var in emitter, writer, printer (#52906) 2023-02-22 11:45:51 -08:00
Sheetal NandiandGitHub 27f20c9fae Defer creation of node typings installer (#52904) 2023-02-22 11:40:48 -08:00
Jake BaileyandGitHub 3267c76777 Fix debug assert for type assertions / JSX (#52919) 2023-02-22 11:05:50 -08:00
ExE BossandGitHub 6bbdcaa146 Fix definition of Array.prototype[Symbol.unscopables] (#42566) 2023-02-22 13:00:52 -05:00
Jake BaileyandGitHub ef79b42b57 Don't emit binding pattern pattern / optional parameter error when an initializer is present (#52880) 2023-02-21 18:05:02 -08:00
Daniel RosenwasserandGitHub 27376f1577 Swap closure state in the type-checker to var to avoid TDZ checks. (#52835) 2023-02-21 17:35:55 -08:00
Jake BaileyandGitHub c5e4f0075d Switch to var in binder for top level variables (#52903) 2023-02-21 17:32:32 -08:00
Jake BaileyandGitHub 3471bd7d86 Fix type import node circularity errors in eager diagnostic mode, deprecations (#52861) 2023-02-21 15:42:15 -08:00
Jake BaileyandGitHub 8adc460c3c Modify ignoreDeprecation diagnostic to be copy/pastable (#52900) 2023-02-21 15:41:35 -08:00
Jake BaileyandGitHub 4587871f51 Fix RWC tests with errors in tsconfig (#52824) 2023-02-21 11:09:06 -08:00
Jake BaileyandGitHub b579516b9e Handle multiple levels of substitutions and indexed accesses in getActualTypeVariable (#52848) 2023-02-21 11:08:51 -08:00
Mateusz BurzyńskiandGitHub 38b951e166 Fixed crash in switch completions related to parenthesized expressions (#52881) 2023-02-21 10:41:16 -08:00
Jake BaileyandGitHub e88fe15d68 Remove ts namespace import from checker (#52890) 2023-02-21 10:14:26 -08:00