Skip to content

Commit

Permalink
fix: fix import bug and remove unused types
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz authored and Alex Bäuerle committed Apr 29, 2021
1 parent 5299369 commit b9a3878
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"build": "cd packages/svelte-vega && yarn build",
"build:sample": "yarn build && cd packages/sample-project && yarn --frozen-lockfile && yarn build",
"build:storybook": "cd packages/storybook && yarn demo:build",
"lint": "eslint . --ext .js,.svelte,.ts",
"lint": "eslint . --ext .js,.svelte,.ts && lerna run validate",
"lint:fix": "yarn lint --fix",
"storybook": "cd packages/storybook && yarn storybook",
"sample": "yarn build && cd packages/sample-project && yarn --frozen-lockfile && yarn dev",
Expand Down
6 changes: 1 addition & 5 deletions packages/svelte-vega/src/types.ts
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
import type { EmbedOptions, Result, VisualizationSpec } from "vega-embed";
import type { Result } from "vega-embed";

export type View = Result["view"];

export type VegaEmbedProps = {
spec: VisualizationSpec;
} & EmbedOptions;

export type SignalListener = (name: string, value: unknown) => void;

export type SignalListeners = {
Expand Down

0 comments on commit b9a3878

Please sign in to comment.