Skip to content

Commit c61d7d8

Browse files
committed
object warning added
1 parent 26892ee commit c61d7d8

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/optimizely-sdk/lib/core/project_config/project_config_manager.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import { OptimizelyConfig, DatafileOptions } from '../../shared_types'
1717
import { ProjectConfig } from '../project_config'
1818

1919
interface ProjectConfigManagerConfig {
20+
// TODO[OASIS-6649]: Don't use object type
21+
// eslint-disable-next-line @typescript-eslint/ban-types
2022
datafile?: object | string,
2123
datafileOptions?: DatafileOptions,
2224
// TODO[OASIS-6649]: Don't use object type

packages/optimizely-sdk/lib/optimizely/index.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ export interface OptimizelyOptions {
6262
UNSTABLE_conditionEvaluators?: unknown;
6363
clientEngine: string;
6464
clientVersion?: string;
65+
// TODO[OASIS-6649]: Don't use object type
66+
// eslint-disable-next-line @typescript-eslint/ban-types
6567
datafile?: object | string;
6668
datafileOptions?: DatafileOptions;
6769
errorHandler: ErrorHandler;

0 commit comments

Comments
 (0)