@@ -19,7 +19,10 @@ import type {
1919 CompilerOptions ,
2020 PluginImport ,
2121} from "./compilerOptions.generated.ts" ;
22- import type { UserPreferences } from "./userPreferences.generated.ts" ;
22+ import type {
23+ FormatCodeSettings ,
24+ UserPreferences ,
25+ } from "./userPreferences.generated.ts" ;
2326
2427export { CaseSensitivity } from "../../enums/caseSensitivity.js" ;
2528export { JsxEmit } from "../../enums/jsxEmit.js" ;
@@ -33,7 +36,7 @@ export { SymbolOwnerKind } from "../../enums/symbolOwnerKind.js";
3336export type { PathKey , RootedDirectoryPath , RootedFilePath , RootedPath } from "../ast/index.ts" ;
3437export type { CompilerOptions , PluginImport } from "./compilerOptions.generated.ts" ;
3538export * from "./compilerOptions.generated.ts" ;
36- export type { UserPreferences } from "./userPreferences.generated.ts" ;
39+ export type { FormatCodeSettings , UserPreferences } from "./userPreferences.generated.ts" ;
3740
3841export type APIMethod < TParams , TResult > = { params : TParams ; result : TResult ; } ;
3942
@@ -45,6 +48,7 @@ export interface APIMethodInfo {
4548 getSymbolOfDeclaration : APIMethod < GetSymbolOfDeclarationParams , SymbolResponse > ;
4649 batchRequests : APIMethod < BatchRequestsParams , BatchRequestsResponse > ;
4750 initialize : APIMethod < null , InitializeResponse > ;
51+ getDefaultFormatCodeSettings : APIMethod < null , FormatCodeSettings > ;
4852 createSnapshot : APIMethod < CreateSnapshotParams , CreateSnapshotResponse > ;
4953 updateSnapshot : APIMethod < UpdateSnapshotParams , CreateSnapshotResponse > ;
5054 getCurrentLanguageServerSnapshot : APIMethod < GetCurrentLanguageServerSnapshotParams , CreateSnapshotResponse > ;
@@ -1261,6 +1265,7 @@ export interface BatchRequest {
12611265 | "getDeclarationDiagnostics"
12621266 | "getDeclarationEmit"
12631267 | "getDeclaredTypeOfSymbol"
1268+ | "getDefaultFormatCodeSettings"
12641269 | "getDefaultFromTypeParameter"
12651270 | "getDefaultProjectForFile"
12661271 | "getDocumentationComment"
@@ -1456,6 +1461,7 @@ export interface BatchResponse {
14561461 | "getDeclarationDiagnostics"
14571462 | "getDeclarationEmit"
14581463 | "getDeclaredTypeOfSymbol"
1464+ | "getDefaultFormatCodeSettings"
14591465 | "getDefaultFromTypeParameter"
14601466 | "getDefaultProjectForFile"
14611467 | "getDocumentationComment"
0 commit comments