Skip to content

Commit

Permalink
refactor(layout): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 24, 2020
1 parent 010d9e5 commit f833b4d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/layout/src/box.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { LayoutBox } from "./api";
import type { LayoutBox } from "./api";

export const layoutBox = (
x: number,
Expand Down
2 changes: 1 addition & 1 deletion packages/layout/src/grid-layout.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { isNumber } from "@thi.ng/checks";
import { IGridLayout, LayoutBox } from "./api";
import type { IGridLayout, LayoutBox } from "./api";

const DEFAULT_SPANS: [number, number] = [1, 1];

Expand Down
2 changes: 1 addition & 1 deletion packages/layout/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export * from "./api";
export type * from "./api";
export * from "./box";
export * from "./grid-layout";
export * from "./is-layout";
2 changes: 1 addition & 1 deletion packages/layout/src/is-layout.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { implementsFunction } from "@thi.ng/checks";
import { ILayout } from "./api";
import type { ILayout } from "./api";

export const isLayout = (x: any): x is ILayout<any, any> =>
implementsFunction(x, "next");

0 comments on commit f833b4d

Please sign in to comment.