typescript 5.2.0-dev.20230803 → 5.2.0-dev.20230805
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/tsc.js +151 -85
- package/lib/tsserver.js +194 -121
- package/lib/tsserverlibrary.d.ts +8 -2
- package/lib/tsserverlibrary.js +194 -121
- package/lib/typescript.d.ts +5 -1
- package/lib/typescript.js +185 -111
- package/lib/typingsInstaller.js +1 -1
- package/package.json +2 -2
package/lib/tsserverlibrary.d.ts
CHANGED
|
@@ -2124,11 +2124,13 @@ declare namespace ts {
|
|
|
2124
2124
|
arguments: InlayHintsRequestArgs;
|
|
2125
2125
|
}
|
|
2126
2126
|
interface InlayHintItem {
|
|
2127
|
-
|
|
2127
|
+
/** This property will be the empty string when displayParts is set. */
|
|
2128
|
+
text: string;
|
|
2128
2129
|
position: Location;
|
|
2129
2130
|
kind: InlayHintKind;
|
|
2130
2131
|
whitespaceBefore?: boolean;
|
|
2131
2132
|
whitespaceAfter?: boolean;
|
|
2133
|
+
displayParts?: InlayHintItemDisplayPart[];
|
|
2132
2134
|
}
|
|
2133
2135
|
interface InlayHintItemDisplayPart {
|
|
2134
2136
|
text: string;
|
|
@@ -5832,9 +5834,11 @@ declare namespace ts {
|
|
|
5832
5834
|
};
|
|
5833
5835
|
}) | ExportDeclaration & {
|
|
5834
5836
|
readonly isTypeOnly: true;
|
|
5837
|
+
readonly moduleSpecifier: Expression;
|
|
5835
5838
|
} | NamespaceExport & {
|
|
5836
5839
|
readonly parent: ExportDeclaration & {
|
|
5837
5840
|
readonly isTypeOnly: true;
|
|
5841
|
+
readonly moduleSpecifier: Expression;
|
|
5838
5842
|
};
|
|
5839
5843
|
};
|
|
5840
5844
|
type TypeOnlyAliasDeclaration = TypeOnlyImportDeclaration | TypeOnlyExportDeclaration;
|
|
@@ -10388,11 +10392,13 @@ declare namespace ts {
|
|
|
10388
10392
|
Enum = "Enum"
|
|
10389
10393
|
}
|
|
10390
10394
|
interface InlayHint {
|
|
10391
|
-
|
|
10395
|
+
/** This property will be the empty string when displayParts is set. */
|
|
10396
|
+
text: string;
|
|
10392
10397
|
position: number;
|
|
10393
10398
|
kind: InlayHintKind;
|
|
10394
10399
|
whitespaceBefore?: boolean;
|
|
10395
10400
|
whitespaceAfter?: boolean;
|
|
10401
|
+
displayParts?: InlayHintDisplayPart[];
|
|
10396
10402
|
}
|
|
10397
10403
|
interface InlayHintDisplayPart {
|
|
10398
10404
|
text: string;
|