@codingame/monaco-languageclient-wrapper 4.1.2 → 4.2.0

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/dist/index.d.ts CHANGED
@@ -1456,12 +1456,13 @@ interface WillShutdownParams {
1456
1456
  delay: number;
1457
1457
  }
1458
1458
 
1459
- declare type LanguageClientOptionsById<T extends string> = Record<T, LanguageClientOptions>;
1459
+ type LanguageClientOptionsById<T extends string> = Record<T, LanguageClientOptions>;
1460
1460
  declare const staticOptions: LanguageClientOptionsById<"angular" | "bash" | "c" | "cpp" | "csharp" | "clojure" | "cobol" | "dart" | "go" | "groovy" | "java" | "javascript" | "kotlin" | "lua" | "mysql" | "sql" | "ocaml" | "objective-c" | "php-serenata" | "php" | "postgresql" | "python" | "r" | "react" | "ruby" | "rust" | "scala" | "swift" | "typescript" | "verilog" | "vue">;
1461
- declare type StaticLanguageClientId = keyof typeof staticOptions;
1461
+ type StaticLanguageClientId = keyof typeof staticOptions;
1462
1462
 
1463
- declare type LanguageClientOptions = Pick<LanguageClientOptions$1, 'documentSelector' | 'synchronize' | 'initializationOptions' | 'middleware'> & {
1463
+ type LanguageClientOptions = Pick<LanguageClientOptions$1, 'documentSelector' | 'synchronize' | 'initializationOptions' | 'middleware'> & {
1464
1464
  vscodeExtensionIds?: string[];
1465
+ defaultConfigurationOverride?: Record<string, unknown>;
1465
1466
  /**
1466
1467
  * Is this language server mutualizable by the CodinGame mutualized proxy
1467
1468
  */
@@ -1478,14 +1479,14 @@ declare type LanguageClientOptions = Pick<LanguageClientOptions$1, 'documentSele
1478
1479
  createAdditionalFeatures?(client: MonacoLanguageClient): Promise<(StaticFeature | DynamicFeature<unknown>)[]>;
1479
1480
  };
1480
1481
  declare function registerLanguageClient(id: string, options: LanguageClientOptions): Disposable$1;
1481
- declare type LanguageClientId = StaticLanguageClientId | string;
1482
+ type LanguageClientId = StaticLanguageClientId | string;
1482
1483
  declare function getLanguageClientOptions(id: LanguageClientId): LanguageClientOptions;
1483
1484
 
1484
1485
  interface LanguageClient {
1485
1486
  sendNotification<P>(type: NotificationType<P>, params?: P): Promise<void>;
1486
1487
  sendRequest<P, R, E>(request: RequestType<P, R, E>, params: P, token?: CancellationToken): Promise<R>;
1487
1488
  }
1488
- declare type Status = 'ready' | 'error' | 'connecting' | 'connected' | 'closed';
1489
+ type Status = 'ready' | 'error' | 'connecting' | 'connected' | 'closed';
1489
1490
  interface StatusChangeEvent {
1490
1491
  status: Status;
1491
1492
  }