Skip to content

Commit

Permalink
Use "import =" style in typescript test.
Browse files Browse the repository at this point in the history
  • Loading branch information
mdaines committed May 1, 2018
1 parent 2365c39 commit 1902109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
export as namespace Viz;

export default Viz;
export = Viz;

declare class Viz {

Expand Down
2 changes: 1 addition & 1 deletion test-types/viz-tests.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Viz from "viz.js";
import Viz = require("viz.js");
import { Module, render } from "viz.js/full.js.opaque";

const vizTests = {
Expand Down

0 comments on commit 1902109

Please sign in to comment.