Skip to content

Commit

Permalink
fix: fix range in identity scale type
Browse files Browse the repository at this point in the history
  • Loading branch information
xile611 committed Aug 25, 2023
1 parent b5a3e27 commit 748c643
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/vgrammar/src/types/scale.ts
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,7 @@ export interface ThresholdScaleSpec extends BaseScaleSpec {
*/
export interface IdentityScaleSpec extends BaseScaleSpec {
type: 'identity';
range?: ScaleFunctionType<any[]> | ScaleData | MultiScaleData;
}

export type ScaleSpec =
Expand Down

0 comments on commit 748c643

Please sign in to comment.