Commit Graph

1499 Commits

Author SHA1 Message Date
Andrew Branch 36ac4eb700 Fix reference marking of values merged with unresolvable type-only imports (#54799) 2023-08-03 11:09:50 -07:00
Mateusz Burzyński 6c942fa2c9 Wrap inline negative const enum with parens (#55065)
Co-authored-by: Oleksandr T <oleksandr.tarasiuk@outlook.com>
2023-07-31 16:33:51 -07:00
Jake Bailey 6a96b9767e Enable eslint rule no-useless-escape (#55138) 2023-07-28 16:02:38 -07:00
Oleksandr T 02e8d5ec61 fix(54951): using being too strict to throw on Function type (#54969) 2023-07-17 18:32:25 -04:00
Josh Goldberg ✨ 0ae8ca11d2 Updated typescript-eslint to v6 (#54693)
Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2023-07-14 15:36:10 -07:00
Sheetal Nandi 5464403848 ParseConfigHost needs to extend ModuleResolutionHost (#54922) 2023-07-10 11:40:40 -07:00
Oleksandr T bc91920cc6 feat(53461): Implement decorator metadata proposal (#54657) 2023-06-23 10:55:22 -04:00
Ron Buckton f9cf8216c6 Support using and await using declarations (#54505) 2023-06-22 17:02:56 -04:00
Andrew Branch 2f4962a89f Remove implicit tests/cases/compiler path prefix from VFS test files (#54557) 2023-06-09 09:23:21 -07:00
Andrew Branch d5a6c8edc6 Test harness fixes (#54556) 2023-06-06 17:22:33 -07:00
Sheetal Nandi 3c4c060dff Adds tests and fixes issues by verifying incremental project updates are handling language service ref counting correctly (#54504) 2023-06-06 11:11:14 -07:00
Oleksandr T 93ac5c6529 fix(54463): Move to existing file — Error: Debug Failure. at doChange4 (#54482) 2023-06-06 09:56:03 -07:00
Andrew Branch 160d1b7d0a Process only tsconfig-referenced files in compiler tests with tsconfig files (#54506) 2023-06-05 15:05:50 -07:00
Daniel Rosenwasser 63a210bd1d Use replaceAll instead of an incorrect RegExp for tsserver log sanitization. (#54454) 2023-05-30 12:51:56 -07:00
Sheetal Nandi c64a378ef9 Handle already released source files that dont match scriptKind (#54401) 2023-05-25 15:58:22 -07:00
Sheetal Nandi d210074c88 Make sure order of watches in baseline is fixed instead of depending on when it was added (#54313) 2023-05-18 13:01:11 -07:00
Sheetal Nandi d01a1c3081 Fix the sample test which lead to discripancy with incremntal build because of error (#54311) 2023-05-18 12:02:42 -07:00
Oleksandr T ce1c97f4f0 fix(54283): Provide better UX when an invalid file is selected for 'move to file' refactoring (#54300) 2023-05-18 10:36:34 -07:00
Ron Buckton b14264a2eb Reverse order of decorator-injected initializers (#54269) 2023-05-17 17:12:13 -04:00
Andrew Branch f0ff97611f isolatedModules does not imply every file is a module (#54218) 2023-05-12 15:14:49 -07:00
Nathan Shively-Sanders b52e912601 move some tests that depend on tsserver into tsserver/ (#54219) 2023-05-11 15:48:17 -07:00
Nathan Shively-Sanders 72037a9796 Skip resolving files directly inside node_modules (#52809) 2023-05-11 08:16:17 -07:00
Sheetal Nandi 8b825f7aaa Handle module node found error reporting in incremental and watch scneario (#54115) 2023-05-09 13:42:26 -07:00
Nathan Shively-Sanders 59d3a38180 fix jsdoc errors in .ts in tsserver (#54185) 2023-05-09 10:00:48 -07:00
Jake Bailey ca185e95ce Fix TS version appearing in baselines (#54154) 2023-05-05 09:54:09 -07:00
Sheetal Nandi bbb9f2ebcf Just like request and response, events are also logged as formatted json for readability (#54105) 2023-05-02 13:32:12 -07:00
Taekmin Kwon 1416053b9e Ensure call return() for an abrupt completion at for await of loop (#52754)
Co-authored-by: tm-kwon <tm.kwon@naverlabs.com>
2023-05-01 08:44:55 -04:00
Sheetal Nandi a956bbc831 Instead of watching files in typing installer, forward it to projectService (#54028) 2023-04-26 13:31:36 -07:00
Sheetal Nandi f22898d577 Close TypingInstaller watches on project close (#54025) 2023-04-26 12:34:42 -07:00
Sheetal Nandi 9ac5886715 Add back tests for async plugin that got deleted as part of #51699 (#54019) 2023-04-25 15:30:59 -07:00
navya9singh d3bbef390d 'Move to file' refactor (#53542) 2023-04-21 11:48:53 -07:00
Sheetal Nandi 30fb9fa57e Refactor plugin related code (#53942) 2023-04-20 16:49:47 -07:00
Sheetal Nandi ddd5084659 Add resolveLibrary method on hosts and store resolvedLibraries in program so that resolutions can be reused (#53877) 2023-04-20 13:50:22 -07:00
Sheetal Nandi 0a98b32b47 Refactor test helpers (#53918) 2023-04-19 14:46:56 -07:00
Sheetal Nandi 53d378720a When installing unrelated package inside scoped packages dont invalidate resolutions from everything in the scoped package (#53873) 2023-04-17 12:37:32 -07:00
Sheetal Nandi df3bec6674 Tweak module resolution failed lookup watching (#53591) 2023-04-13 14:50:50 -07:00
Jake Bailey a26175bffb Ensure findPrecedingToken recurses into JSDoc children when needed (#53487) 2023-04-12 12:00:47 -07:00
Sheetal Nandi 4615e52d93 Update more tests for paths (#53728) 2023-04-10 14:29:43 -07:00
Sheetal Nandi 926c6f1ddb Some of the test updates to ensure that it still tests what it is suppose to after we update watch path logic (#53726) 2023-04-10 13:37:33 -07:00
Sheetal Nandi 85f20246a4 Make the server logs more stable by stubbing time and seq info in the log (#53693) 2023-04-06 16:23:44 -07:00
Sheetal Nandi acb48f192c More directory patterns for testing that we will care about (#53653) 2023-04-03 15:34:37 -07:00
Sheetal Nandi 27d3454f07 Add baselines per root for affected file watching (#53616) 2023-03-31 15:57:19 -07:00
Sheetal Nandi 2eab265a2b Baseline some watch related path determinations so its easy to track changes (#53598) 2023-03-31 15:13:06 -07:00
Andrew Branch b29ed18466 Ignore allowImportingTsExtensions in transpileModule to suppress option validation error with noEmit (#53599) 2023-03-31 09:10:49 -07:00
Sheetal Nandi 0ee51b96dc More baselining for timeouts that make furture changes easier (#53579) 2023-03-30 09:48:34 -07:00
Sheetal Nandi d105b6a994 More baselining for future changes (#53564) 2023-03-29 00:47:37 -07: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
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