diff --git a/packages/sdk/browser/src/compat/LDClientCompat.ts b/packages/sdk/browser/src/compat/LDClientCompat.ts index 11a18e8d7..ab8839272 100644 --- a/packages/sdk/browser/src/compat/LDClientCompat.ts +++ b/packages/sdk/browser/src/compat/LDClientCompat.ts @@ -12,8 +12,10 @@ import { LDClient as LDCLientBrowser } from '../LDClient'; * incorrect. Any function which optionally returned a promise based on a callback had incorrect * typings. Those have been corrected in this implementation. */ -export interface LDClient - extends Omit { +export interface LDClient extends Omit< + LDCLientBrowser, + 'close' | 'flush' | 'identify' | 'identifyResult' +> { /** * Identifies a context to LaunchDarkly. * diff --git a/packages/shared/sdk-server/src/Migration.ts b/packages/shared/sdk-server/src/Migration.ts index e59ee5e54..607b7d237 100644 --- a/packages/shared/sdk-server/src/Migration.ts +++ b/packages/shared/sdk-server/src/Migration.ts @@ -96,8 +96,12 @@ class Migration< TMigrationWrite, TMigrationReadInput = any, TMigrationWriteInput = any, -> implements LDMigration -{ +> implements LDMigration< + TMigrationRead, + TMigrationWrite, + TMigrationReadInput, + TMigrationWriteInput +> { private readonly _execution: LDSerialExecution | LDConcurrentExecution; private readonly _errorTracking: boolean; diff --git a/packages/shared/sdk-server/src/api/options/LDDataSystemOptions.ts b/packages/shared/sdk-server/src/api/options/LDDataSystemOptions.ts index 34bc00145..06b217fcd 100644 --- a/packages/shared/sdk-server/src/api/options/LDDataSystemOptions.ts +++ b/packages/shared/sdk-server/src/api/options/LDDataSystemOptions.ts @@ -122,7 +122,8 @@ export interface PollingDataSourceConfiguration { * and can switch between streaming and polling automatically to provide redundancy. */ export interface StandardDataSourceOptions - extends Omit, + extends + Omit, Omit { dataSourceOptionsType: 'standard'; }