Skip to content

Commit

Permalink
fix ts error shown in pr ci
Browse files Browse the repository at this point in the history
  • Loading branch information
julieg18 committed Feb 13, 2024
1 parent 8f56013 commit 261728b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions test/compositemark/errorbar.test.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import {AggregateOp} from 'vega';
import {FieldName} from '../../src/channeldef';
import {ErrorBarCenter, ErrorBarExtent} from '../../src/compositemark/errorbar';
import {defaultConfig} from '../../src/config';
Expand All @@ -7,7 +6,7 @@ import {isMarkDef} from '../../src/mark';
import {normalize} from '../../src/normalize';
import {isLayerSpec, isUnitSpec} from '../../src/spec';
import {TopLevelUnitSpec} from '../../src/spec/unit';
import {isAggregate, isCalculate, Transform} from '../../src/transform';
import {AggregateFieldOp, isAggregate, isCalculate, Transform} from '../../src/transform';
import {some} from '../../src/util';
import {assertIsLayerSpec, assertIsUnitSpec} from '../util';

Expand Down Expand Up @@ -597,7 +596,7 @@ describe('normalizeErrorBar for all possible extents and centers with raw data i
}
});

function isPartOfExtent(extent: ErrorBarExtent, op: AggregateOp) {
function isPartOfExtent(extent: ErrorBarExtent, op: AggregateFieldOp) {
if (extent === 'ci') {
return op === 'ci0' || op === 'ci1';
} else if (extent === 'iqr') {
Expand Down

0 comments on commit 261728b

Please sign in to comment.