main
Commits on Aug 29, 2022
-
-
Handle intersections in isGenericTypeWithoutNullableConstraint (#50497)
* Handle intersections in isGenericTypeWithoutNullableConstraint * Add regression test
Commits on Aug 28, 2022
Commits on Aug 27, 2022
Commits on Aug 26, 2022
-
-
fix(50415): Language server debug failure - Did not expect GetAccesso…
…r to have an Identifier in its trivia (#50470) * fix(50415): clone props for get/set accessors * add additional tests * create helpers to create name, body, modifiers, typeName * cleanup
-
add unknown to DateTimeFormatTypes (#50402)
* add unknown to DateTimeFormatTypes * move unknown to es2019.intl instead * Accepted baselines. Co-authored-by: long.ho <long.ho@cloudkitchens.com>
-
-
Optimize substitution types (#50397)
* Optimize substitution type infrastructure * Accept new baselines * Preserve instantiated substitution types for type variables * Restrictive type parameters should have no constraint * Fix issues from top100 test run * Accept new baselines
-
feat(7481): Operator to ensure an expression is contextually typed by…
…, and satisfies, some type (#46827) * feat(7481): add explicit type compatibility check with 'satisfies' expression * Add failing test for lack of intersectioned contextual type * Implement the behavior * Add test corresponding to the 'if' * Add test based on defined scenarios * remove isExpression in favor of using type casting * move tests from compiler to conformance folder * update baseline * add missing contextFlags argument * use asserted type * accept baseline Co-authored-by: Ryan Cavanaugh <ryanca@microsoft.com>
-
Commits on Aug 25, 2022
-
-
fix(50435): Duplicate seeming Code Actions for convert const to let (#…
…50442) * fix(50435): omit fix all in constToLet QF * add FixAll action
-
Jsdoc property description (#50269)
* jsdocPropertyDescription * jsdocPropertyDescription * jsdocPropertyDescription * Fixes #47933 * added additional test * added additional example * fixed bug * changed function to only grab the literal type * added additional condition for literals and symbols * added additional test cases * Update src/services/symbolDisplay.ts Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com> * addressed PR review * addressed new PR review Co-authored-by: Danay Fernandez Alfonso <t-danayf@microsoft.com> Co-authored-by: Andrew Branch <andrewbranch@users.noreply.github.com>
-
-
Commits on Aug 24, 2022
-
fix(50375): Errors for missing enum-named properties should attempt t…
…o preserve names (#50382) * fix(50375): preserve enum-named properties * add AllowComputedPropertyEnums option * use bit shifting * rename AllowComputedPropertyEnum -> WriteComputedProps * mark WriteComputedProps as internal * mark symbolToNode as internal
-
Discard union types before considering weak type checks on unit-like …
…types (#50423) * Only check isUnitType when dealing with non-unions. * Add test case. * Accepted baselines.
-
Syntax operations also need to ensure project is present for the open…
-
Commits on Aug 23, 2022
-
fix(50224): Intellisense for strings within a type's Union doesn't wo…
…rk properly for JSX (#50231) * fix(50224): show string literal completions in JsxAttributeInitializer * add feedback changes
-
-
-