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/typescript.d.ts
CHANGED
|
@@ -1774,9 +1774,11 @@ declare namespace ts {
|
|
|
1774
1774
|
};
|
|
1775
1775
|
}) | ExportDeclaration & {
|
|
1776
1776
|
readonly isTypeOnly: true;
|
|
1777
|
+
readonly moduleSpecifier: Expression;
|
|
1777
1778
|
} | NamespaceExport & {
|
|
1778
1779
|
readonly parent: ExportDeclaration & {
|
|
1779
1780
|
readonly isTypeOnly: true;
|
|
1781
|
+
readonly moduleSpecifier: Expression;
|
|
1780
1782
|
};
|
|
1781
1783
|
};
|
|
1782
1784
|
type TypeOnlyAliasDeclaration = TypeOnlyImportDeclaration | TypeOnlyExportDeclaration;
|
|
@@ -6414,11 +6416,13 @@ declare namespace ts {
|
|
|
6414
6416
|
Enum = "Enum"
|
|
6415
6417
|
}
|
|
6416
6418
|
interface InlayHint {
|
|
6417
|
-
|
|
6419
|
+
/** This property will be the empty string when displayParts is set. */
|
|
6420
|
+
text: string;
|
|
6418
6421
|
position: number;
|
|
6419
6422
|
kind: InlayHintKind;
|
|
6420
6423
|
whitespaceBefore?: boolean;
|
|
6421
6424
|
whitespaceAfter?: boolean;
|
|
6425
|
+
displayParts?: InlayHintDisplayPart[];
|
|
6422
6426
|
}
|
|
6423
6427
|
interface InlayHintDisplayPart {
|
|
6424
6428
|
text: string;
|