Skip to content

Commit b8bb5df

Browse files
Polishing
1 parent 2a0851c commit b8bb5df

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/dtos/types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ export interface IRBSegment {
210210
status: 'ACTIVE' | 'ARCHIVED',
211211
conditions?: ISplitCondition[],
212212
excluded?: {
213-
keys?: string[],
214-
segments?: IExcludedSegment[]
213+
keys?: string[] | null,
214+
segments?: IExcludedSegment[] | null
215215
}
216216
}
217217

src/evaluator/matchers/__tests__/rbsegment.spec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,8 +94,8 @@ const STORED_RBSEGMENTS: Record<string, IRBSegment> = {
9494
name: 'depend_on_always_on',
9595
changeNumber: 123,
9696
status: 'ACTIVE',
97-
excluded: { // @ts-ignore
98-
keys: null, // @ts-ignore
97+
excluded: {
98+
keys: null,
9999
segments: null,
100100
},
101101
conditions: [{

0 commit comments

Comments
 (0)