Commit Graph
16994 Commits
Author SHA1 Message Date
Oleksandr TandGitHub 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
Gabriela Araujo BrittoandGitHub 24ac9e75c2 Improve class member snippet completions and keyword completions interaction (#52525) 2023-05-17 15:14:34 -07:00
Ron BucktonandGitHub b14264a2eb Reverse order of decorator-injected initializers (#54269) 2023-05-17 17:12:13 -04:00
Mateusz BurzyńskiandGitHub 074f20877d Fix JSX inference with excess properties (#53810) 2023-05-16 15:30:50 -07:00
Wesley WighamandGitHub b0c80207ac Add fallback logic for generating signatures for unions of array members (#53489) 2023-05-16 15:12:37 -07:00
Mateusz BurzyńskiandGitHub cb88998063 Evaluate simple template expressions (#53907) 2023-05-15 12:51:06 -07:00
Daniel Rosenwasser dad9ae0ce8 Bump version to 5.2 and update baselines. 2023-05-15 17:53:13 +00:00
Gabriela Araujo BrittoandGitHub 48328caa71 Cache expression type when checking assertion (#54224) 2023-05-12 17:22:34 -07:00
Andrew BranchandGitHub f0ff97611f isolatedModules does not imply every file is a module (#54218) 2023-05-12 15:14:49 -07:00
Nathan Shively-SandersandGitHub 72037a9796 Skip resolving files directly inside node_modules (#52809) 2023-05-11 08:16:17 -07:00
Sheetal NandiandGitHub 8b825f7aaa Handle module node found error reporting in incremental and watch scneario (#54115) 2023-05-09 13:42:26 -07:00
Wesley WighamandGitHub 02bb3108ad JSX namespace names should not be considered expressions (#54104) 2023-05-09 10:45:58 -07:00
Nathan Shively-SandersandGitHub 59d3a38180 fix jsdoc errors in .ts in tsserver (#54185) 2023-05-09 10:00:48 -07:00
JmandGitHub 362703a213 Cover more cases for node module auto-import (#54024) 2023-05-09 09:46:55 -07:00
Mateusz BurzyńskiandGitHub 6947c98929 Fixed issue with spreading a generic call expression into generic JSX and gather intra expression inference sites from spread expressions (#53444) 2023-05-08 13:53:15 -07:00
Ryan CavanaughandGitHub e9cbebbc89 Ignore self tail calls when collecting the return type of a function (#53995) 2023-05-05 10:16:11 -07:00
Jake BaileyandGitHub c333e14578 Ensure that JSDoc parsing happens within a ParsingContext (#52710) 2023-05-04 09:55:34 -07:00
Nathan Shively-SandersandGitHub 840a0bfc08 Error on template tag inside callback/overload/typedef tag (#54118) 2023-05-04 09:51:43 -07:00
Ron BucktonandGitHub f9a7cbfe7b Fix crash in getAwaitedType (#54107) 2023-05-03 15:40:51 -04:00
StevenandGitHub ec1205cec1 Fix/issue 53286 (#53885) 2023-05-02 15:53:42 -07:00
Nathan Shively-SandersandGitHub 632ad0b0de JS declaration emit uses this for method returns (#54062) 2023-05-02 14:19:03 -07:00
Anders HejlsbergandGitHub 44f4e276b7 Constraints for generic tuple types (#53672) 2023-05-02 10:35:49 -07:00
Anders HejlsbergandGitHub 94564cf073 Type with diverging read/write normalizations still identical to itself (#54033) 2023-05-02 06:40:41 -07:00
Anders HejlsbergandGitHub ae6393e5eb Add fallback when both co- and contra-variant inference candidates exist (#54072) 2023-05-02 06:39:57 -07:00
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
Ron BucktonandGitHub 611a912dd1 Fix class alias reference in static initializer for legacy class decorators (#54046) 2023-04-28 15:45:40 -04:00
Ron BucktonandGitHub be27970251 Fix 'var' hoisting in 'if' in CJS/AMD emit (#54036) 2023-04-27 15:58:41 -04:00
Nathan Shively-SandersandGitHub 063276aac9 Bind JSDoc on SemicolonClassElement (#54044) 2023-04-27 11:47:16 -07:00
Oleksandr TandGitHub 3c43b6b1be fix(53754): Re-exported symbol marked with deprecated doesn't get correct deprecation highlighting (#53808) 2023-04-27 09:45:10 -07:00
Nathan Shively-SandersandGitHub 1577535205 Fix callback return type annotation before constructor (#54034) 2023-04-26 13:46:55 -07:00
Mateusz BurzyńskiandGitHub 2cbfb51ebb Fixed JSX attributes discriminating based on optional children (#53980) 2023-04-26 13:39:08 -07:00
Sheetal NandiandGitHub a956bbc831 Instead of watching files in typing installer, forward it to projectService (#54028) 2023-04-26 13:31:36 -07:00
Ron BucktonandGitHub 5ad4ac8d11 Fix 'var' hoisting in 'if' in SystemJS emit (#54016) 2023-04-25 18:03:39 -04:00
Oleksandr TandGitHub 546be4b360 fix(53735): Definition file generated from javascript is missing getter (#53768) 2023-04-25 14:42:15 -07:00
Gerrit BirkelandandGitHub a1df8f774f Expose getJSDocCommentsAndTags (#53627) 2023-04-24 15:36:41 -07:00
Wesley WighamandGitHub a177af1cc8 Instantiate generic ElementType declarations (#53943) 2023-04-24 13:25:39 -07:00
Andrew BranchandGitHub 818c9806d4 Ensure paths-based resolution does not generate module specifiers with .. in the middle (#53957) 2023-04-21 15:04:16 -07:00
Ron BucktonandGitHub 36b632552d Remove EndOfDeclarationMarker and MergeDeclarationMarker nodes (#53901) 2023-04-21 17:21:26 -04:00
navya9singhandGitHub d3bbef390d 'Move to file' refactor (#53542) 2023-04-21 11:48:53 -07:00
Sheetal NandiandGitHub 30fb9fa57e Refactor plugin related code (#53942) 2023-04-20 16:49:47 -07:00
Oleksandr TandGitHub 58a5f4e228 fix(53722): Overloaded constructors: 'TValue' not assignable to 'string' (#53742) 2023-04-20 16:32:23 -07:00
Oleksandr TandGitHub c74efad46e fix(53645): JSDoc extends doesn't work with multiple lines (#53705) 2023-04-20 16:06:38 -07:00
Sheetal NandiandGitHub 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 NandiandGitHub bd4f40317c Library resolution should happen from config file directory if present just like auto type reference directive resolution (#53899) 2023-04-18 14:40:20 -07:00
Sheetal NandiandGitHub ece33b7b59 Trace lib resolutions if resolving using options.traceResolution (#53898) 2023-04-18 10:56:57 -07:00
Sheetal NandiandGitHub b846033000 Instead of clearing out all resolutions and closing all the directory watchers, mark everything as invalidated when changes affect module resolution (#53882) 2023-04-18 10:21:17 -07:00
Mateusz BurzyńskiandGitHub 8575886713 Remove duplicates from supportedTSExtensionsForExtractExtension (#53891) 2023-04-18 10:02:35 -07:00
178198be04 Fix 53482 : Preserve newline/space behavior (#53732)
Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
2023-04-18 09:57:52 -07:00
Oleksandr TandGitHub 6f9a0622d1 feat(7411) - Replace helper to get namespaced name (#53876) 2023-04-17 12:47:29 -07:00
Mateusz BurzyńskiandGitHub b269087505 Fixed an issue with JSX children expression not being contextually discriminated (#53502) 2023-04-17 12:42:25 -07:00