Commit Graph
1097 Commits
Author SHA1 Message Date
Titian Cernicova-Dragomir 8537bb72eb Error if type node uses inaccessible type in isolated declarations (#58620) 2024-05-22 15:51:11 -07:00
Wesley Wigham b682ed4504 Lock down computed names in object literals and classes under --isolatedDeclarations (#58596) 2024-05-22 12:28:07 -07:00
Andrew Branch 84ab39d7f0 Respect importModuleSpecifierPreference in sort order between fixes for the same symbol from different files (#58597) 2024-05-21 08:36:53 -07:00
Sheetal Nandi 524456ff5a Fix incorrect usage of getResolvedTypeReferenceDirectives and some refactoring (#58527) 2024-05-13 16:03:40 -07:00
Oleksandr T 017c1e0e64 fix(55765): Implement Interface Code Action is not available under certain circumstances (#55767) 2024-05-10 14:46:51 -07:00
navya9singh be8fb98cf1 Implementing copy/paste (#57262) 2024-05-08 16:07:51 -07:00
Andrew Branch bc14459f3b Refactor default export info name gathering (#58460) 2024-05-08 09:33:17 -07:00
Jake Bailey 16beff101a Use explicit extensions for imports within src (#58421) 2024-05-06 17:07:54 -07:00
Hana JooandAndrew Branch 33b156147b Add a code fixer for --isolatedDeclarations errors (#58260)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2024-04-30 15:25:51 -07:00
Oleksandr T dc316afea4 fix(58360): Cheese being inserted on TypeScript Quick Fix (#58365) 2024-04-29 15:29:46 -07:00
navya9singh ce4862c267 Updating move to file (#58257) 2024-04-25 15:32:18 -07:00
Oleksandr T 93451e8dd9 fix(57497): "Remove unused declaration" does not work on overloaded function declarations (#57517) 2024-04-19 11:28:00 -07:00
Andrew Branch 585a9af830 Respect package.json "type" and module-format-specific file extensions in more module modes (#57896) 2024-04-12 12:47:09 -07:00
Andrew Branch 5c55ce1ba2 Expand auto-import API to work on non-existent files and symbols (#58093) 2024-04-09 11:24:15 -07:00
Oleksandr T 1ab2a8d83e fix(57761): Invalid verbatimModuleSyntax quick fix offered when also reexporting a value (#57769) 2024-04-03 16:06:44 -07:00
Jake Bailey 4cedfe40b0 Update dprint, don't force multiline imports for imports of single name (#58038) 2024-04-02 10:58:16 -07:00
Oleksandr T 2de69b09c5 feat(41825): JSDoc equivalent of import * (#57207) 2024-03-26 13:52:43 -07:00
Isabel Duan 0a671aa393 Change detection to detection by diff in organizeImports (#57267) 2024-03-15 16:07:39 -07:00
Ron Buckton 5e8f900afa Report grammar errors for invalid decorator grammar (#57749) 2024-03-13 14:50:04 -04:00
Oleksandr T c1f0f7cb58 feat(57240): Unimplemented abstract methods result in verbose, repetitive message (#57291) 2024-03-12 15:56:09 -07:00
Jake BaileyandAndrew Branch 26df0cb23e Remove 5.5 deprecated compiler options (#57527)
Co-authored-by: Andrew Branch <andrew@wheream.io>
2024-02-28 14:35:39 -08:00
hborchardt da5f0fe9d4 Add missing members to array of objects in quickfix (#57143) 2024-02-15 11:49:38 -08:00
Andrew Branch 76cf0928f2 Expand anti-parent-barrel auto-import heuristic to all moduleResolution modes (#57342) 2024-02-08 11:12:35 -08:00
Oleksandr T 10a3872de4 fix(57326): 'resolves to a type-only declaration and must be imported using a type-only import' doesn't have a quick fix (#57327) 2024-02-07 15:17:29 -08:00
Abraham Guo 3c9aea3ed1 enable @typescript-eslint/no-unused-vars (#57123) 2024-01-29 11:31:51 -08:00
Andrew Branch 6cb6fc94ae Add --module preserve, support require in --moduleResolution bundler (#56785) 2024-01-19 12:03:24 -08:00
Oleksandr T 140fa7e5d1 feat(51870): Add a Quick Fix to add an additional parameter to a method or function (#56411) 2024-01-19 09:35:33 -08:00
Jake Bailey 67b644e543 Export internal functions needed by dtsBundler.mjs (#52941) 2024-01-11 11:15:58 -08:00
Isabel Duan 780097856a Organize type imports (#55269) 2024-01-09 16:29:16 -08:00
Oleksandr T 5d3bc98efb fix(56756): using quick fix to add missing enum member will add extra empty lines (#56788) 2024-01-02 14:08:23 -08:00
Oleksandr T a50f67d347 fix(56733): Auto fix "add missing properties" of enums does not correct namespace of enum (#56739) 2024-01-02 11:25:44 -08:00
Andrew Branch 649e614496 Recognize more "cannot find name" error code variations for codefixes (#56335) 2023-11-07 11:42:06 -08:00
Ron Buckton 79da510066 Fix incorrect flags in modifierFlagsCache (#56198) 2023-10-25 18:24:53 -04:00
Ron Buckton e5e7cbba79 Expose 'updateModifiers' in public NodeFactory API (#56194) 2023-10-23 20:37:57 -04:00
Andrew Branch aef4e468d9 Add user preference for preferring type-only auto imports (#56090) 2023-10-20 14:52:18 -07:00
Andrew Branch 248488aa06 Prefer local module specifier over relative node_modules ones in auto-import, even when it reaches into a monorepo package (#55969) 2023-10-03 14:10:06 -07:00
Oleksandr T 2e9e9a292c feat(53656): Add support for the updated import attributes proposal (#54242) 2023-09-26 13:20:15 -07:00
Sheetal Nandi 83f02a4b7e Picking resolutions of module for sourceFile as method (#55818) 2023-09-22 10:24:37 -07:00
Sheetal Nandi ec1414f627 Source files not affected by all module resolution options (#55790) 2023-09-20 16:45:32 -07:00
Mateusz Burzyński 0464e91c8b Fixed an issue with type-only import promoting (#55365) 2023-09-18 12:38:00 -07:00
Jake BaileyandMateusz Burzyński 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
Jack Works e7bb0ebfac refactor: let exportMapKey accepts bad symbol name (#54678) 2023-09-13 09:39:05 -07:00
Oleksandr T fe82a610cd fix(55014): Quick fix for ts7051 introduces incorrect type (#55020) 2023-08-30 15:17:43 -07:00
Sampo Kivistö ec2bd4e252 perf: replace String and Array indexOf method calls with includes method call (#55482) 2023-08-25 11:27:55 -07:00
Jake Bailey 5e8c261b6a dprint the codebase (#54820) 2023-08-16 14:26:38 -07:00
Ryan Cavanaugh f4517ce680 Use correct Node.flags instead of Node.kind in isInsideAwaitableBody (#55320) 2023-08-09 09:43:43 -07:00
Jake Bailey 6a96b9767e Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -07:00
Andrew Branch 2170e6c6cc Proposal: Always allow type-only imports to reference .ts extensions (#54746) 2023-07-24 16:12:38 -07:00
Egor Verbitskiyandeverbits 7194be067c fix(53919): Cannot read properties of undefined (reading 'flags') in returnValueCorrect (#53921)
Co-authored-by: everbits <everbitskiy@linkedin.com>
2023-07-21 16:47:25 -07:00
Egor Verbitskiyandeverbits 7a1f97a61b fix(54666): Codefix `convertTypedefToType to work for multiple typedefs in a row (#54667)
Co-authored-by: everbits <everbitskiy@linkedin.com>
2023-07-21 09:56:39 -07:00