Commit Graph

  • 137c461bd0 Scan bigger/fewer jsdoc tokens (#53081) Nathan Shively-Sanders 2023-03-07 16:32:04 -08:00
  • 4af97b0572 Fix compound assignments for properties with different getter & setter types (#50431) jihndai 2023-03-07 20:02:16 -04:00
  • d747277edf Skip derived override assignment declarations (#52603) Nathan Shively-Sanders 2023-03-07 15:40:43 -08:00
  • 88adf8014b Make special intersections order-independent (#52782) Mateusz Burzyński 2023-03-08 00:39:14 +01:00
  • 3f4d16a25e Remove lib folder (LKG) and use node_modules for building (#52226) Jake Bailey 2023-03-07 15:34:47 -08:00
  • 2f229ab870 Add an extra test for contextually typed return of async function (#52613) Mateusz Burzyński 2023-03-08 00:30:40 +01:00
  • ff1e08f859 Rename scanner token methods (#53078) Nathan Shively-Sanders 2023-03-07 13:54:44 -08:00
  • 3236ac9336 Add NullKeyword to isPartOfTypeNode, mirroring UndefinedKeyword (#53025) Jake Bailey 2023-03-07 12:03:09 -08:00
  • a6be79d535 Remove old test262 and dt runner infra (#53125) Jake Bailey 2023-03-07 11:59:47 -08:00
  • 0e34f187c8 fix(52443): Regression: constructor accessor not allowed on plain objects (#52452) Oleksandr T 2023-03-07 21:22:09 +02:00
  • 8458a61007 Make ModuleResolutionKind.Node10 change backward-compatible (#53139) Andrew Branch 2023-03-07 11:20:53 -08:00
  • 02cf0b68b7 fix(52879): No autocompletions after the typeof keyword inside JSDoc comments. (#52973) Oleksandr T 2023-03-07 20:52:23 +02:00
  • 868331f2be Fix deprecations, improve messaging (#52993) Jake Bailey 2023-03-07 09:39:45 -08:00
  • 4ee8b0f315 Report excess property errors on object literal names (#53129) Mateusz Burzyński 2023-03-07 18:31:31 +01:00
  • b1f25a2bdb Move to New File: Respect Quote Style in import updates (#52974) Vitaly 2023-03-07 20:23:02 +03:00
  • 74e61d36ad Fix script compile (#53136) Jake Bailey 2023-03-07 08:55:50 -08:00
  • 5e898eb63d Expose getStringLiteralType and getNumberLiteralType on the TypeChecker, plus remove /** @internal */ from several useful methods. (#52473) sstchur 2023-03-07 08:41:55 -08:00
  • 9f8a160d53 Attach commit as package.json#gitHead in prerelease versions (#47932) Mateusz Burzyński 2023-03-07 17:35:16 +01:00
  • 4d4227adc4 Pin dependencies in release-5.0 (#53126) Daniel Rosenwasser 2023-03-06 23:22:27 -08:00
  • 6dbec02a88 Add extra test cases for the Awaited type (#53090) Mateusz Burzyński 2023-03-07 08:14:57 +01:00
  • df1ddb7964 Update package-lock.json TypeScript Bot 2023-03-07 06:06:48 +00:00
  • 6a39f912d6 Remove docker and user tests, related infra (#53118) Jake Bailey 2023-03-06 19:59:21 -08:00
  • 79bdd93ec5 🤖 Pick PR #52984 (Check for strict subtypes and then ...) into release-5.0 (#53085) TypeScript Bot 2023-03-06 17:17:49 -08:00
  • 967911c389 Report assignability errors on the return/yield keywords (#52943) Mateusz Burzyński 2023-03-07 01:50:47 +01:00
  • 5240f060b8 feat(52569): fixUnusedIdentifier: Unwanted side-effects when removing an unused destructuring declaration containing a function call (#52951) Oleksandr T 2023-03-07 01:41:13 +02:00
  • 7e4592ea09 Add an extra test case for deferred conditional types (#53067) Mateusz Burzyński 2023-03-06 22:46:11 +01:00
  • 61a8e2c5b7 Add a test for an error on required JSX children when an empty JSX expression is used (#53113) Mateusz Burzyński 2023-03-06 22:24:15 +01:00
  • 79ef86fcac Mark binder as pure to tree shake in typingsInstaller (#53107) Jake Bailey 2023-03-06 12:06:55 -08:00
  • 9c7f43dfd8 Add extra test cases for indexed access on generic mapped type (#53112) Mateusz Burzyński 2023-03-06 19:20:00 +01:00
  • 43cc362cef Update package-lock.json TypeScript Bot 2023-03-04 06:06:27 +00:00
  • 3a6752ca14 feat(52883): Organize Imports doesn't treat exports the same way and merges groups (#52982) Oleksandr T 2023-03-04 03:03:21 +02:00
  • bd787bd907 Allow adding arbitrary extension files to program without d.ts files bein on the disk arbExt Sheetal Nandi 2023-03-03 15:36:49 -08:00
  • 6823559fa9 Check for strict subtypes and then regular subtypes in getNarrowedType (#52984) Anders Hejlsberg 2023-03-03 13:56:17 -10:00
  • a9ae9eeb23 fix(53074): Functions with async keyword don't autocomplete (#53079) Oleksandr T 2023-03-03 20:31:01 +02:00
  • a34d5ae1ed Add extra test cases for Awaited<T> inference (#53068) Mateusz Burzyński 2023-03-03 15:47:14 +01:00
  • 4b6fb95f04 Update package-lock.json TypeScript Bot 2023-03-03 06:06:47 +00:00
  • d5ccec377d Add tests for inferring contextual generic mapped types (#52709) Mateusz Burzyński 2023-03-03 01:29:16 +01:00
  • b19cfc03f2 Make getSupportedCodeFixes plugin test such that we dont need to update its baseline for every new error (#53070) Sheetal Nandi 2023-03-02 14:58:13 -08:00
  • 40cd0de05b Remove perf_hooks patch needed for old versions of Node (#53058) Jake Bailey 2023-03-02 14:24:26 -08:00
  • b0afbd6aaa Cherry-pick #52565 to release-5.0 (#53055) Jake Bailey 2023-03-02 12:38:45 -08:00
  • 3ede9245ce 🤖 Pick PR #53012 (Omit intersection property check wh...) into release-5.0 (#53024) TypeScript Bot 2023-03-02 12:36:57 -08:00
  • 6b71882c4c Fixed spreading iterables into arguments list directly into rest-only signatures (#52838) Mateusz Burzyński 2023-03-02 18:09:54 +01:00
  • 7bee9c55b1 Update package-lock.json TypeScript Bot 2023-03-02 06:07:18 +00:00
  • 1da6d87a05 ScriptInfo versioning improvements (#53001) Sheetal Nandi 2023-03-01 15:55:37 -08:00
  • 8b87de1750 Baseline for watches to only add watch state if there is change and include typing installer baselines into tsserver baselines (#52901) Sheetal Nandi 2023-03-01 14:10:51 -08:00
  • 4c7e327981 Uncomment gitlens option in template (#53052) Jake Bailey 2023-03-01 13:22:31 -08:00
  • 958487beda Mark indexed access object type comparisons as unreliable (#52106) Wesley Wigham 2023-03-01 13:07:44 -08:00
  • 211a60dc79 fix(52444): "... is a type and must be imported using a type-only import ..." should have a quick fix (#52565) Oleksandr T 2023-03-01 22:20:56 +02:00
  • fc756ebc17 Use missingType instead of undefinedType for optional methods under exactOptionalPropertyTypes (#52519) Mateusz Burzyński 2023-03-01 20:25:39 +01:00
  • dcc766f2b2 Remove long deprecated occurrences request (#52347) Sheetal Nandi 2023-03-01 10:59:07 -08:00
  • 080f9c1c3f Fixed false positive errors in empty optional binding patterns in declaration signatures (#50816) Mateusz Burzyński 2023-03-01 19:58:37 +01:00
  • 9c5b09cd21 Updates to type reference directive resolution and module resolution when failed (#51715) Sheetal Nandi 2023-03-01 10:57:47 -08:00
  • d8ba799f89 Also set javascript.unstable for organize imports in settings.json (#53047) Jake Bailey 2023-03-01 10:51:11 -08:00
  • 58ee54c2aa Resolve contextual computed properties with non-bindable names (#51915) Mateusz Burzyński 2023-03-01 19:12:18 +01:00
  • 73a98aee00 Add tests for Awaited<null> and Awaited<undefined> (#52960) Ron Buckton 2023-03-01 12:56:42 -05:00
  • 1b692dec96 convert JSDoc typedef to type, issue 50644 (#51430) brendaHuang 2023-03-01 09:43:08 -08:00
  • 02885b1a2e Fixed an issue with top function type being callable with no arguments (#52387) Mateusz Burzyński 2023-03-01 18:35:36 +01:00
  • 6b75ce23ce Completely remove Push type (#52133) Jake Bailey 2023-03-01 09:34:59 -08:00
  • 5f9698059c Try bailing out at earlier points in getSymbolIfSameReference. fastPathSymbolIsSameReference Daniel Rosenwasser 2023-03-01 08:11:20 +00:00
  • 941b30c975 Pin all of the deps besides @types/node and @octokit/rest (#53026) Jake Bailey 2023-02-28 22:58:00 -08:00
  • ca1cf3dd85 Deprecate UnderscoreEscapedMap and remove internal uses (#53032) Jake Bailey 2023-02-28 16:55:29 -08:00
  • c6b384ce5c Add an extra test case for an aliased mapped type inference (#52742) Mateusz Burzyński 2023-03-01 01:07:47 +01:00
  • 8f40d5633f Add the OpenSSF Scorecard GitHub Action (#52103) Pedro Nacht 2023-02-28 21:00:42 -03:00
  • 57394450db lib Fix Part 1/6 – WeakMap constructor (#50449) 形素叢集・ぐらふぃーむ 2023-03-01 06:14:30 +08:00
  • 0e357f510b Exclude literal completions after closing quote and JSX attribute location (#52676) Vitaly 2023-03-01 00:31:30 +03:00
  • a0374077dd Remove createUnderscoreEscapedMultiMap (#53029) Jake Bailey 2023-02-28 13:21:20 -08:00
  • 74814345ce Omit intersection property check when source includes target (#53012) Anders Hejlsberg 2023-02-28 04:57:10 -10:00
  • e2283e99b4 Downgrade glob to v8 to fix build (#53015) Jake Bailey 2023-02-27 23:05:16 -08:00
  • 710bb91b94 Update package-lock.json TypeScript Bot 2023-02-28 06:07:08 +00:00
  • c97ddac60d Run lint in parallel with runtests-parallel (#52945) Jake Bailey 2023-02-27 11:06:20 -08:00
  • 7a0061aa96 Remove most direct uses of factory from src/compilers/transformers (#52957) Daniel Rosenwasser 2023-02-27 11:05:41 -08:00
  • 6fe711f85a Remove unused eslint-disable directives (#52987) Jake Bailey 2023-02-27 11:01:37 -08:00
  • 835fff8106 Update package-lock.json TypeScript Bot 2023-02-27 06:07:17 +00:00
  • 4374ffd628 Bump version to 5.1, fix 'ignoreDeprecations', and update baselines. (#52975) Daniel Rosenwasser 2023-02-26 20:56:07 -08:00
  • 20d4479b24 Update package-lock.json TypeScript Bot 2023-02-26 06:06:27 +00:00
  • 89515ce7e3 Update version to 5.0.1-rc and LKG. v5.0-rc Daniel Rosenwasser 2023-02-25 02:46:19 +00:00
  • d3815df94e Merge branch 'main' into release-5.0 Daniel Rosenwasser 2023-02-25 02:39:45 +00:00
  • e9868e96e8 --moduleResolution bundler: Require ESM for module and remove node from hard-coded conditions (#52940) Andrew Branch 2023-02-24 15:49:08 -08:00
  • 3f7bf69ddf Destructure common factory methods in the parser. (#52920) Daniel Rosenwasser 2023-02-24 12:52:30 -08:00
  • 4416d548cb Update package-lock.json TypeScript Bot 2023-02-24 06:07:01 +00:00
  • 1a76569a78 Retry querying string completions from the inferred type if the original completions request doesn't return anything (#52875) Mateusz Burzyński 2023-02-23 21:13:30 +01:00
  • f2df10fc83 Update package-lock.json TypeScript Bot 2023-02-23 06:06:55 +00:00
  • 8becdf2b40 Fix emit for nested object rest in assignment pattern (#52922) Ron Buckton 2023-02-22 20:41:09 -05:00
  • 718e63b9c9 Add links to github above big var blocks (#52925) Jake Bailey 2023-02-22 17:01:15 -08:00
  • b39f10f651 Switch to var in emitter, writer, printer (#52906) Jake Bailey 2023-02-22 11:45:51 -08:00
  • 27f20c9fae Defer creation of node typings installer (#52904) Sheetal Nandi 2023-02-22 11:40:48 -08:00
  • 3267c76777 Fix debug assert for type assertions / JSX (#52919) Jake Bailey 2023-02-22 11:05:50 -08:00
  • 6bbdcaa146 Fix definition of Array.prototype[Symbol.unscopables] (#42566) ExE Boss 2023-02-22 19:00:52 +01:00
  • ef79b42b57 Don't emit binding pattern pattern / optional parameter error when an initializer is present (#52880) Jake Bailey 2023-02-21 18:05:02 -08:00
  • 27376f1577 Swap closure state in the type-checker to var to avoid TDZ checks. (#52835) Daniel Rosenwasser 2023-02-21 17:35:55 -08:00
  • c5e4f0075d Switch to var in binder for top level variables (#52903) Jake Bailey 2023-02-21 17:32:32 -08:00
  • 3471bd7d86 Fix type import node circularity errors in eager diagnostic mode, deprecations (#52861) Jake Bailey 2023-02-21 15:42:15 -08:00
  • 8adc460c3c Modify ignoreDeprecation diagnostic to be copy/pastable (#52900) Jake Bailey 2023-02-21 15:41:35 -08:00
  • 08cd75ded2 Adding comment fix(50751) navya9singh 2023-02-21 19:51:36 +00:00
  • 4587871f51 Fix RWC tests with errors in tsconfig (#52824) Jake Bailey 2023-02-21 11:09:06 -08:00
  • b579516b9e Handle multiple levels of substitutions and indexed accesses in getActualTypeVariable (#52848) Jake Bailey 2023-02-21 11:08:51 -08:00
  • 38b951e166 Fixed crash in switch completions related to parenthesized expressions (#52881) Mateusz Burzyński 2023-02-21 19:41:16 +01:00
  • e88fe15d68 Remove ts namespace import from checker (#52890) Jake Bailey 2023-02-21 10:14:26 -08:00
  • e1ae30e1ab fix(52852): "Move to a new file" refactoring does not maintain "import type" semantics (#52854) Oleksandr T 2023-02-21 20:02:00 +02:00
  • f0d1eee9b1 Update package-lock.json TypeScript Bot 2023-02-21 06:06:32 +00:00