@typescript-deploys/pr-build 4.8.0-pr-49119-45 → 4.8.0-pr-48997-21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/lib.es5.d.ts CHANGED
@@ -1584,7 +1584,7 @@ type Omit<T, K extends keyof any> = Pick<T, Exclude<keyof T, K>>;
1584
1584
  /**
1585
1585
  * Exclude null and undefined from T
1586
1586
  */
1587
- type NonNullable<T> = T & {};
1587
+ type NonNullable<T> = T extends null | undefined ? never : T;
1588
1588
 
1589
1589
  /**
1590
1590
  * Obtain the parameters of a function type in a tuple
package/lib/protocol.d.ts CHANGED
@@ -2699,6 +2699,7 @@ declare namespace ts.server.protocol {
2699
2699
  readonly includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean;
2700
2700
  readonly includeInlayFunctionParameterTypeHints?: boolean;
2701
2701
  readonly includeInlayVariableTypeHints?: boolean;
2702
+ readonly includeInlayVariableTypeHintsWhenTypeMatchesName?: boolean;
2702
2703
  readonly includeInlayPropertyDeclarationTypeHints?: boolean;
2703
2704
  readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
2704
2705
  readonly includeInlayEnumMemberValueHints?: boolean;