Skip to content

Commit

Permalink
fix: ensure compatibility with TS 3.7 (#5497)
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Oct 29, 2019
1 parent a25151d commit 64c98d7
Show file tree
Hide file tree
Showing 7 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@
"terser": "^4.3.9",
"ts-jest": "^24.1.0",
"ts-json-schema-generator": "^0.55.0",
"typescript": "~3.6.4",
"typescript": "~3.7.1-rc",
"vega-cli": "^5.7.3",
"vega-datasets": "^1.26.0",
"vega-embed": "^6.0.0",
Expand Down
1 change: 0 additions & 1 deletion src/bin.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {isBoolean, isObject} from 'vega-util';
import {BinParams} from './bin';
import {
Channel,
COLOR,
Expand Down
2 changes: 0 additions & 2 deletions src/projection.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import {ProjectionType} from './vega.schema';

export type ProjectionType = ProjectionType;

export interface Projection {
/**
* The cartographic projection to use. This value is case-insensitive, for example `"albers"` and `"Albers"` indicate the same projection type. You can find all valid projection types [in the documentation](https://vega.github.io/vega-lite/docs/projection.html#projection-types).
Expand Down
1 change: 0 additions & 1 deletion src/spec/facet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {Header} from '../header';
import {EncodingSortField, SortArray, SortOrder} from '../sort';
import {StandardType} from '../type';
import {BaseSpec, GenericCompositionLayoutWithColumns, ResolveMixins} from './base';
import {FacetMapping} from './facet';
import {GenericLayerSpec, NormalizedLayerSpec} from './layer';
import {GenericUnitSpec, NormalizedUnitSpec} from './unit';

Expand Down
1 change: 0 additions & 1 deletion src/spec/repeat.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {BaseSpec, GenericCompositionLayoutWithColumns, ResolveMixins} from './base';
import {GenericSpec} from './index';
import {GenericLayerSpec, NormalizedLayerSpec} from './layer';
import {RepeatMapping} from './repeat';
import {GenericUnitSpec, NormalizedUnitSpec} from './unit';

export interface RepeatMapping {
Expand Down
1 change: 0 additions & 1 deletion src/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import {LogicalOperand, normalizeLogicalOperand} from './logical';
import {normalizePredicate, Predicate} from './predicate';
import {SortField} from './sort';
import {TimeUnit} from './timeunit';
import {JoinAggregateTransform} from './transform';

export interface FilterTransform {
/**
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -6982,6 +6982,11 @@ typescript@~3.6.4:
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.6.4.tgz#b18752bb3792bc1a0281335f7f6ebf1bbfc5b91d"
integrity sha512-unoCll1+l+YK4i4F8f22TaNVPRHcD9PA3yCuZ8g5e0qGqlVlJ/8FSateOLLSagn+Yg5+ZwuPkL8LFUc0Jcvksg==

typescript@~3.7.1-rc:
version "3.7.1-rc"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.7.1-rc.tgz#2054b872d67f8dc732e36c1df397f9327f37ada0"
integrity sha512-2rMtWppLsaPvmpXsoIAXWDBQVnJMw1ITGGSnidMuayLj9iCmMRT69ncKZw/Mk5rXfJkilApKucWQZxproALoRw==

uglify-js@^3.1.4:
version "3.6.1"
resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.6.1.tgz#ae7688c50e1bdcf2f70a0e162410003cf9798311"
Expand Down

0 comments on commit 64c98d7

Please sign in to comment.