typescript 4.7.0-dev.20220215 → 4.7.0-dev.20220216

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.
@@ -274,6 +274,10 @@ declare namespace Intl {
274
274
  }
275
275
 
276
276
  interface Locale extends LocaleOptions {
277
+ /** A string containing the language, and the script and region if available. */
278
+ baseName: string;
279
+ /** The primary language subtag associated with the locale. */
280
+ language: string;
277
281
  /** Gets the most likely values for the language, script, and region of the locale based on existing values. */
278
282
  maximize(): Locale;
279
283
  /** Attempts to remove information about the locale that would be added by calling `Locale.maximize()`. */
@@ -19,5 +19,8 @@ and limitations under the License.
19
19
 
20
20
 
21
21
  declare namespace Intl {
22
- // Empty for now
22
+
23
+ interface DateTimeFormat {
24
+ formatRange(startName: Date, endNumber: Date): string;
25
+ }
23
26
  }
package/lib/protocol.d.ts CHANGED
@@ -2657,6 +2657,13 @@ declare namespace ts.server.protocol {
2657
2657
  readonly jsxAttributeCompletionStyle?: "auto" | "braces" | "none";
2658
2658
  readonly displayPartsForJSDoc?: boolean;
2659
2659
  readonly generateReturnInDocTemplate?: boolean;
2660
+ readonly includeInlayParameterNameHints?: "none" | "literals" | "all";
2661
+ readonly includeInlayParameterNameHintsWhenArgumentMatchesName?: boolean;
2662
+ readonly includeInlayFunctionParameterTypeHints?: boolean;
2663
+ readonly includeInlayVariableTypeHints?: boolean;
2664
+ readonly includeInlayPropertyDeclarationTypeHints?: boolean;
2665
+ readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
2666
+ readonly includeInlayEnumMemberValueHints?: boolean;
2660
2667
  }
2661
2668
  interface CompilerOptions {
2662
2669
  allowJs?: boolean;