typescript 4.8.0-dev.20220615 → 4.8.0-dev.20220618
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/cs/diagnosticMessages.generated.json +5 -1
- package/lib/de/diagnosticMessages.generated.json +2 -0
- package/lib/es/diagnosticMessages.generated.json +5 -1
- package/lib/fr/diagnosticMessages.generated.json +5 -1
- package/lib/it/diagnosticMessages.generated.json +2 -0
- package/lib/ja/diagnosticMessages.generated.json +2 -0
- package/lib/ko/diagnosticMessages.generated.json +5 -1
- package/lib/lib.dom.d.ts +128 -183
- package/lib/lib.dom.iterable.d.ts +1 -11
- package/lib/lib.webworker.d.ts +54 -27
- package/lib/lib.webworker.iterable.d.ts +1 -1
- package/lib/pl/diagnosticMessages.generated.json +5 -1
- package/lib/protocol.d.ts +1 -0
- package/lib/pt-br/diagnosticMessages.generated.json +5 -1
- package/lib/ru/diagnosticMessages.generated.json +5 -1
- package/lib/tr/diagnosticMessages.generated.json +2 -0
- package/lib/tsc.js +136 -49
- package/lib/tsserver.js +368 -104
- package/lib/tsserverlibrary.d.ts +10 -0
- package/lib/tsserverlibrary.js +368 -104
- package/lib/typescript.d.ts +9 -0
- package/lib/typescript.js +336 -82
- package/lib/typescriptServices.d.ts +9 -0
- package/lib/typescriptServices.js +336 -82
- package/lib/typingsInstaller.js +165 -49
- package/lib/zh-cn/diagnosticMessages.generated.json +5 -1
- package/lib/zh-tw/diagnosticMessages.generated.json +5 -1
- package/package.json +20 -20
|
@@ -4137,6 +4137,8 @@ declare namespace ts {
|
|
|
4137
4137
|
readonly includeInlayPropertyDeclarationTypeHints?: boolean;
|
|
4138
4138
|
readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
|
|
4139
4139
|
readonly includeInlayEnumMemberValueHints?: boolean;
|
|
4140
|
+
readonly allowRenameOfImportPath?: boolean;
|
|
4141
|
+
readonly autoImportFileExcludePatterns?: string[];
|
|
4140
4142
|
}
|
|
4141
4143
|
/** Represents a bigint literal value without requiring bigint support */
|
|
4142
4144
|
export interface PseudoBigInt {
|
|
@@ -5917,6 +5919,8 @@ declare namespace ts {
|
|
|
5917
5919
|
getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan | undefined;
|
|
5918
5920
|
getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan | undefined;
|
|
5919
5921
|
getSignatureHelpItems(fileName: string, position: number, options: SignatureHelpItemsOptions | undefined): SignatureHelpItems | undefined;
|
|
5922
|
+
getRenameInfo(fileName: string, position: number, preferences: UserPreferences): RenameInfo;
|
|
5923
|
+
/** @deprecated Use the signature with `UserPreferences` instead. */
|
|
5920
5924
|
getRenameInfo(fileName: string, position: number, options?: RenameInfoOptions): RenameInfo;
|
|
5921
5925
|
findRenameLocations(fileName: string, position: number, findInStrings: boolean, findInComments: boolean, providePrefixAndSuffixTextForRename?: boolean): readonly RenameLocation[] | undefined;
|
|
5922
5926
|
getSmartSelectionRange(fileName: string, position: number): SelectionRange;
|
|
@@ -6296,6 +6300,7 @@ declare namespace ts {
|
|
|
6296
6300
|
Insert = "insert",
|
|
6297
6301
|
Remove = "remove"
|
|
6298
6302
|
}
|
|
6303
|
+
/** @deprecated - consider using EditorSettings instead */
|
|
6299
6304
|
interface EditorOptions {
|
|
6300
6305
|
BaseIndentSize?: number;
|
|
6301
6306
|
IndentSize: number;
|
|
@@ -6313,6 +6318,7 @@ declare namespace ts {
|
|
|
6313
6318
|
indentStyle?: IndentStyle;
|
|
6314
6319
|
trimTrailingWhitespace?: boolean;
|
|
6315
6320
|
}
|
|
6321
|
+
/** @deprecated - consider using FormatCodeSettings instead */
|
|
6316
6322
|
interface FormatCodeOptions extends EditorOptions {
|
|
6317
6323
|
InsertSpaceAfterCommaDelimiter: boolean;
|
|
6318
6324
|
InsertSpaceAfterSemicolonInForStatements: boolean;
|
|
@@ -6438,6 +6444,9 @@ declare namespace ts {
|
|
|
6438
6444
|
canRename: false;
|
|
6439
6445
|
localizedErrorMessage: string;
|
|
6440
6446
|
}
|
|
6447
|
+
/**
|
|
6448
|
+
* @deprecated Use `UserPreferences` instead.
|
|
6449
|
+
*/
|
|
6441
6450
|
interface RenameInfoOptions {
|
|
6442
6451
|
readonly allowRenameOfImportPath?: boolean;
|
|
6443
6452
|
}
|