@@ -1486,6 +1486,10 @@ declare namespace ts {
14861486 command: CommandTypes.Quickinfo;
14871487 arguments: FileLocationRequestArgs;
14881488 }
1489+ export interface QuickInfoRequestArgs extends FileLocationRequestArgs {
1490+ /** TODO */
1491+ verbosityLevel?: number;
1492+ }
14891493 /**
14901494 * Body of QuickInfoResponse.
14911495 */
@@ -1519,6 +1523,10 @@ declare namespace ts {
15191523 * JSDoc tags associated with symbol.
15201524 */
15211525 tags: JSDocTagInfo[];
1526+ /**
1527+ * TODO
1528+ */
1529+ canIncreaseVerbosityLevel?: boolean;
15221530 }
15231531 /**
15241532 * Quickinfo response message.
@@ -2508,6 +2516,7 @@ declare namespace ts {
25082516 ES2022 = "es2022",
25092517 ESNext = "esnext",
25102518 Node16 = "node16",
2519+ Node18 = "node18",
25112520 NodeNext = "nodenext",
25122521 Preserve = "preserve",
25132522 }
@@ -3633,7 +3642,7 @@ declare namespace ts {
36333642 readDirectory(rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[] | undefined, depth?: number): string[];
36343643 }
36353644 }
3636- const versionMajorMinor = "5.7 ";
3645+ const versionMajorMinor = "5.8 ";
36373646 /** The version of the TypeScript compiler release */
36383647 const version: string;
36393648 /**
@@ -6279,6 +6288,7 @@ declare namespace ts {
62796288 getBigIntType(): Type;
62806289 getBigIntLiteralType(value: PseudoBigInt): BigIntLiteralType;
62816290 getBooleanType(): Type;
6291+ getUnknownType(): Type;
62826292 getFalseType(): Type;
62836293 getTrueType(): Type;
62846294 getVoidType(): Type;
@@ -6338,6 +6348,7 @@ declare namespace ts {
63386348 * and the operation is cancelled, then it should be discarded, otherwise it is safe to keep.
63396349 */
63406350 runWithCancellationToken<T>(token: CancellationToken, cb: (checker: TypeChecker) => T): T;
6351+ getTypeArgumentsForResolvedSignature(signature: Signature): readonly Type[] | undefined;
63416352 }
63426353 enum NodeBuilderFlags {
63436354 None = 0,
@@ -6841,11 +6852,15 @@ declare namespace ts {
68416852 String = 0,
68426853 Number = 1,
68436854 }
6855+ type ElementWithComputedPropertyName = (ClassElement | ObjectLiteralElement) & {
6856+ name: ComputedPropertyName;
6857+ };
68446858 interface IndexInfo {
68456859 keyType: Type;
68466860 type: Type;
68476861 isReadonly: boolean;
68486862 declaration?: IndexSignatureDeclaration;
6863+ components?: ElementWithComputedPropertyName[];
68496864 }
68506865 enum InferencePriority {
68516866 None = 0,
@@ -7016,6 +7031,7 @@ declare namespace ts {
70167031 /** @deprecated */
70177032 keyofStringsOnly?: boolean;
70187033 lib?: string[];
7034+ libReplacement?: boolean;
70197035 locale?: string;
70207036 mapRoot?: string;
70217037 maxNodeModuleJsDepth?: number;
@@ -7092,6 +7108,7 @@ declare namespace ts {
70927108 /** Paths used to compute primary types search locations */
70937109 typeRoots?: string[];
70947110 verbatimModuleSyntax?: boolean;
7111+ erasableSyntaxOnly?: boolean;
70957112 esModuleInterop?: boolean;
70967113 useDefineForClassFields?: boolean;
70977114 [option: string]: CompilerOptionsValue | TsConfigSourceFile | undefined;
@@ -7123,6 +7140,7 @@ declare namespace ts {
71237140 ES2022 = 7,
71247141 ESNext = 99,
71257142 Node16 = 100,
7143+ Node18 = 101,
71267144 NodeNext = 199,
71277145 Preserve = 200,
71287146 }
@@ -7415,8 +7433,9 @@ declare namespace ts {
74157433 NonNullAssertions = 4,
74167434 PartiallyEmittedExpressions = 8,
74177435 ExpressionsWithTypeArguments = 16,
7418- Assertions = 6,
7419- All = 31,
7436+ Satisfies = 32,
7437+ Assertions = 38,
7438+ All = 63,
74207439 ExcludeJSDocTypeAssertion = -2147483648,
74217440 }
74227441 type ImmediatelyInvokedFunctionExpression = CallExpression & {
@@ -10746,6 +10765,7 @@ declare namespace ts {
1074610765 displayParts?: SymbolDisplayPart[];
1074710766 documentation?: SymbolDisplayPart[];
1074810767 tags?: JSDocTagInfo[];
10768+ canIncreaseVerbosityLevel?: boolean;
1074910769 }
1075010770 type RenameInfo = RenameInfoSuccess | RenameInfoFailure;
1075110771 interface RenameInfoSuccess {
0 commit comments