Commit Graph
30 Commits
Author SHA1 Message Date
Zzzen 811a637e6f Fix issue with optional chaining and type inference in type guard (#55613) 2023-09-13 11:28:26 -07:00
Zzzen c68d1dd942 error on duplicate symbols in classes (#55438) 2023-09-01 16:25:22 -07:00
Zzzen c5f92d4150 support generic variant setter (#55030) 2023-08-29 14:11:33 -07:00
Zzzen 788239ff87 do not report use-before-declaration error in async like IIFE initial… (#55279) 2023-08-28 10:47:32 -07:00
Zzzen a0e0104656 error on duplicate symbols in object literals (#55193) 2023-08-17 16:34:31 -07:00
Zzzen 23eabea067 fix use-before-init error when targeting ES2022 (#55028) 2023-07-28 16:02:09 -07:00
Zzzen f4c2a227a7 fix flow type of this inside arrow function (#54236) 2023-05-24 15:57:36 -07:00
ZzzenandNathan Shively-Sanders 458c5e6c64 fix(53138): go-to-definition not working on expression of SatisfiesExpression (#53164)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-04-13 15:29:18 -07:00
Zzzen 8e08f38a08 fix(53006): generate let in namespaces for expando (#53206) 2023-03-27 13:26:14 -07:00
ZzzenandNathan Shively-Sanders cfd550e397 Avoid bogus circularity error on context sensitive expando assingment (#50487)
Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2023-03-16 10:12:23 -07:00
Zzzen 0ce551752d check computed property names in overloads (#52427) 2023-03-08 09:20:33 -08:00
Zzzen 6017625ad5 do not report use-before-declaration error in async IIFE initializer (#50199) 2022-11-02 11:41:04 -07:00
Zzzen b94b299a11 fix CFA for BindingElement. #49759 (#49836)
* fix CFA for BindingElement. #49759

* fix Parameter

* fix controlFlowBindingPatternOrder

* fix bindParameterFlow

* add tests

* refactor

* refactor

* refactor
2022-08-09 16:37:39 -07:00
Zzzen 1490037f17 fix dts generation of jsdoc (#49904) 2022-07-28 17:44:23 -07:00
Zzzen efbe03a33c check base constraint when checking operand of plus (#49918) 2022-07-18 09:42:50 -07:00
Zzzen 604e5fca55 Add JSDoc's @inheritDoc Support for Static Class Members for TypeScript (#46719)
* Add JSDoc's @inheritDoc Support for Static Class Members for TypeScript

* use public api

* fix

* add tests

* simplify implementation

* extract comments from inherticDoc
2022-05-09 15:57:27 -07:00
Zzzen f4b99ea47c preserve this when extracting functions (#41992)
* preserve this when extracting functions

* rename IsThisReferringToFunction to UsesThisInFunction

* refactor

* update tests
2022-04-07 15:05:46 -07:00
Zzzen 370d34cdca narrow type for generic variables inside TypeQuery (#48434) 2022-04-05 09:33:19 -07:00
Zzzen 20c01cdd3f align ClassStaticBlockDeclaration with IIFE in CFA (#44969)
* align ClassStaticBlockDeclaration with IIFE in CFA

* isIIFELike => isImmediatelyInvoked

* fix unexpected used-before-assignment errors

* update baseline
2022-03-23 15:47:29 -07:00
ZzzenandWesley Wigham f9ae305dda support generic type when checking implicit conversion of symbol to string (#44578)
Co-authored-by: Wesley Wigham <wewigham@microsoft.com>
2022-03-04 15:57:34 -08:00
Zzzen 41b981c998 fix(47853): Convert to template string issue (#47976) 2022-02-28 10:40:48 -08:00
Zzzen dda65830de go-to-type-definition, and find-all-refs should work for import.meta (#44364)
* go-to-type-definition, and find-all-refs should work for import.meta

* search `meta` instead of `import.meta`

* remove `definition`

* fix compilation error

* update baseline

* revert definition
2022-02-25 09:02:06 -08:00
Zzzen 81d1457738 mark length of readonly tuple as readonly (#47717) 2022-02-15 15:02:36 -08:00
Zzzen 880e2c0783 support quickinfo and go-to-definition on typeof this (#47085)
* support quickinfo and go-to-definition on `typeof this`

* update baseline

* move code to checkIdentifier
2022-02-01 16:16:01 -08:00
Zzzen a42379179b fix merging of function and derived class (#47170) 2021-12-16 17:29:07 -08:00
ZzzenandJake Bailey 7a1687de26 fix(42678): detect access to uninitialized variable in IIFE (#42776)
* fix(42678): detect access to uninitialized variable in IIFE

* improve performance

* Add missing space to match coding guidelines

* simplify the implementation

Co-authored-by: Jake Bailey <5341706+jakebailey@users.noreply.github.com>
2021-12-06 10:42:20 -08:00
ZzzenandNathan Shively-Sanders de4ba0f208 enable go-to-type-definition on type nodes (#46714)
* enable go-to-type-definition on type nodes

* only go when symbol has no value meaning

* Update formatting of src/services/goToDefinition.ts

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>

Co-authored-by: Nathan Shively-Sanders <293473+sandersn@users.noreply.github.com>
2021-11-18 08:55:54 -08:00
Zzzen 8a68c8616d allow typeof this after for-loops (#46181) 2021-10-27 10:26:05 -07:00
Zzzen 1d51dfa550 improve error message for using property of type as type (#45354)
* improve error message for using property of type as type

* suggest typeof when possible

* fix naming and error location
2021-09-03 12:17:50 -07:00
Zzzen 693c2d08c1 support contextual return type of iife (#45007) 2021-08-19 16:37:50 -07:00