Skip to content

Commit bef9252

Browse files
Types polishing
1 parent a242745 commit bef9252

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/evaluator/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import SplitIO from '../../types/splitio';
44
import { ILogger } from '../logger/types';
55

66
export interface IDependencyMatcherValue {
7-
key: SplitIO.SplitKeyObject,
7+
key: SplitIO.SplitKey,
88
attributes?: SplitIO.Attributes
99
}
1010

src/evaluator/value/sanitize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ function sanitizeBoolean(val: any): boolean | undefined {
4141
return undefined;
4242
}
4343

44-
function dependencyProcessor(sanitizedValue: SplitIO.SplitKeyObject, attributes?: SplitIO.Attributes): IDependencyMatcherValue {
44+
function dependencyProcessor(sanitizedValue: SplitIO.SplitKey, attributes?: SplitIO.Attributes): IDependencyMatcherValue {
4545
return {
4646
key: sanitizedValue,
4747
attributes

0 commit comments

Comments
 (0)