Skip to content

Commit

Permalink
refactor(atom): update type-only imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Dec 6, 2020
1 parent 6e5a78d commit f1cee05
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion packages/atom/test/atom.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isNumber } from "@thi.ng/checks";
import * as assert from "assert";
import { Atom } from "../src/index";
import { Atom } from "../src";

describe("atom", function () {
let a: Atom<any>;
Expand Down
2 changes: 1 addition & 1 deletion packages/atom/test/cursor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { isNumber } from "@thi.ng/checks";
import * as assert from "assert";
import { Atom, Cursor, defAtom, defCursor } from "../src/index";
import { Atom, Cursor, defAtom, defCursor } from "../src";

interface State {
a: {
Expand Down
4 changes: 1 addition & 3 deletions packages/atom/test/history.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
import * as assert from "assert";
import { Atom } from "../src/atom";
import { defCursor } from "../src/cursor";
import { defHistory } from "../src/history";
import { Atom, defCursor, defHistory } from "../src";

describe("history", () => {
let a: Atom<any>;
Expand Down
2 changes: 1 addition & 1 deletion packages/atom/test/transacted.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import {
defTransacted,
defView,
Transacted,
} from "../src/index";
} from "../src";

interface State {
a: number;
Expand Down
5 changes: 1 addition & 4 deletions packages/atom/test/view.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
import * as assert from "assert";
import { IView } from "../src/api";
import { Atom } from "../src/atom";
import { defCursor } from "../src/cursor";
import { defView, View } from "../src/view";
import { Atom, defCursor, defView, IView, View } from "../src";

interface State {
a: number;
Expand Down

0 comments on commit f1cee05

Please sign in to comment.