typescript 4.8.0-dev.20220614 → 4.8.0-dev.20220617
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/dynamicImportCompat.js +25 -0
- package/lib/tsc.js +115 -23
- package/lib/tsserver.js +617 -78
- package/lib/tsserverlibrary.d.ts +18 -2
- package/lib/tsserverlibrary.js +556 -77
- package/lib/typescript.d.ts +8 -0
- package/lib/typescript.js +279 -41
- package/lib/typescriptServices.d.ts +8 -0
- package/lib/typescriptServices.js +279 -41
- package/lib/typingsInstaller.js +133 -24
- package/package.json +20 -20
|
@@ -4137,6 +4137,7 @@ declare namespace ts {
|
|
|
4137
4137
|
readonly includeInlayPropertyDeclarationTypeHints?: boolean;
|
|
4138
4138
|
readonly includeInlayFunctionLikeReturnTypeHints?: boolean;
|
|
4139
4139
|
readonly includeInlayEnumMemberValueHints?: boolean;
|
|
4140
|
+
readonly allowRenameOfImportPath?: boolean;
|
|
4140
4141
|
}
|
|
4141
4142
|
/** Represents a bigint literal value without requiring bigint support */
|
|
4142
4143
|
export interface PseudoBigInt {
|
|
@@ -5917,6 +5918,8 @@ declare namespace ts {
|
|
|
5917
5918
|
getNameOrDottedNameSpan(fileName: string, startPos: number, endPos: number): TextSpan | undefined;
|
|
5918
5919
|
getBreakpointStatementAtPosition(fileName: string, position: number): TextSpan | undefined;
|
|
5919
5920
|
getSignatureHelpItems(fileName: string, position: number, options: SignatureHelpItemsOptions | undefined): SignatureHelpItems | undefined;
|
|
5921
|
+
getRenameInfo(fileName: string, position: number, preferences: UserPreferences): RenameInfo;
|
|
5922
|
+
/** @deprecated Use the signature with `UserPreferences` instead. */
|
|
5920
5923
|
getRenameInfo(fileName: string, position: number, options?: RenameInfoOptions): RenameInfo;
|
|
5921
5924
|
findRenameLocations(fileName: string, position: number, findInStrings: boolean, findInComments: boolean, providePrefixAndSuffixTextForRename?: boolean): readonly RenameLocation[] | undefined;
|
|
5922
5925
|
getSmartSelectionRange(fileName: string, position: number): SelectionRange;
|
|
@@ -6296,6 +6299,7 @@ declare namespace ts {
|
|
|
6296
6299
|
Insert = "insert",
|
|
6297
6300
|
Remove = "remove"
|
|
6298
6301
|
}
|
|
6302
|
+
/** @deprecated - consider using EditorSettings instead */
|
|
6299
6303
|
interface EditorOptions {
|
|
6300
6304
|
BaseIndentSize?: number;
|
|
6301
6305
|
IndentSize: number;
|
|
@@ -6313,6 +6317,7 @@ declare namespace ts {
|
|
|
6313
6317
|
indentStyle?: IndentStyle;
|
|
6314
6318
|
trimTrailingWhitespace?: boolean;
|
|
6315
6319
|
}
|
|
6320
|
+
/** @deprecated - consider using FormatCodeSettings instead */
|
|
6316
6321
|
interface FormatCodeOptions extends EditorOptions {
|
|
6317
6322
|
InsertSpaceAfterCommaDelimiter: boolean;
|
|
6318
6323
|
InsertSpaceAfterSemicolonInForStatements: boolean;
|
|
@@ -6438,6 +6443,9 @@ declare namespace ts {
|
|
|
6438
6443
|
canRename: false;
|
|
6439
6444
|
localizedErrorMessage: string;
|
|
6440
6445
|
}
|
|
6446
|
+
/**
|
|
6447
|
+
* @deprecated Use `UserPreferences` instead.
|
|
6448
|
+
*/
|
|
6441
6449
|
interface RenameInfoOptions {
|
|
6442
6450
|
readonly allowRenameOfImportPath?: boolean;
|
|
6443
6451
|
}
|