Skip to content

Commit

Permalink
update default value to undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
tyiuhc committed Feb 2, 2024
1 parent a340f20 commit 1a0791c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/node/src/types/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ export type ExperimentConfig = RemoteEvaluationConfig;
| **fetchRetryBackoffScalar** | `1.5` |
| **fetchRetryTimeoutMillis** | `10000` |
| **httpAgent** | null |
| **deploymentKey** | null |
| **deploymentKey** | undefined |
*
* @category Configuration
Expand All @@ -96,7 +96,7 @@ export const RemoteEvaluationDefaults: RemoteEvaluationConfig = {
fetchRetryBackoffScalar: 1.5,
fetchRetryTimeoutMillis: 10000,
httpAgent: null,
deploymentKey: null,
deploymentKey: undefined,
};

/**
Expand All @@ -112,7 +112,7 @@ export const Defaults: ExperimentConfig = {
fetchRetryBackoffScalar: 1.5,
fetchRetryTimeoutMillis: 10000,
httpAgent: null,
deploymentKey: null,
deploymentKey: undefined,
};

/**
Expand Down Expand Up @@ -187,7 +187,7 @@ export type AssignmentConfig = {
| **serverUrl** | `"https://api.lab.amplitude.com"` |
| **flagConfigPollingIntervalMillis** | `30000` |
| **httpAgent** | null |
| **deploymentKey** | null |
| **deploymentKey** | undefined |
* @category Configuration
*/
Expand All @@ -197,7 +197,7 @@ export const LocalEvaluationDefaults: LocalEvaluationConfig = {
bootstrap: {},
flagConfigPollingIntervalMillis: 30000,
httpAgent: null,
deploymentKey: null,
deploymentKey: undefined,
};

export const AssignmentConfigDefaults: Omit<AssignmentConfig, 'apiKey'> = {
Expand Down

0 comments on commit 1a0791c

Please sign in to comment.