Skip to content

Commit

Permalink
refactor(geom-api): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Feb 24, 2020
1 parent 401da1b commit aa0f356
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion packages/geom-api/src/accel.ts
@@ -1,4 +1,4 @@
import {
import type {
IClear,
ICopy,
IEmpty,
Expand Down
8 changes: 4 additions & 4 deletions packages/geom-api/src/index.ts
@@ -1,9 +1,9 @@
export * from "./accel";
export type * from "./accel";
export * from "./convex";
export * from "./cubic";
export type * from "./cubic";
export * from "./isec";
export * from "./path";
export * from "./sample";
export * from "./shape";
export * from "./subdiv";
export * from "./tessel";
export type * from "./subdiv";
export type * from "./tessel";
2 changes: 1 addition & 1 deletion packages/geom-api/src/isec.ts
@@ -1,4 +1,4 @@
import { Vec } from "@thi.ng/vectors";
import type { Vec } from "@thi.ng/vectors";

export const enum IntersectionType {
NONE,
Expand Down
4 changes: 2 additions & 2 deletions packages/geom-api/src/path.ts
@@ -1,5 +1,5 @@
import { Vec } from "@thi.ng/vectors";
import { IShape } from "./shape";
import type { Vec } from "@thi.ng/vectors";
import type { IShape } from "./shape";

export const enum SegmentType {
MOVE,
Expand Down
4 changes: 2 additions & 2 deletions packages/geom-api/src/shape.ts
@@ -1,5 +1,5 @@
import { ICopy, IObjectOf, IToHiccup } from "@thi.ng/api";
import { Vec } from "@thi.ng/vectors";
import type { ICopy, IObjectOf, IToHiccup } from "@thi.ng/api";
import type { Vec } from "@thi.ng/vectors";

export const enum Type {
AABB = 1,
Expand Down
2 changes: 1 addition & 1 deletion packages/geom-api/src/subdiv.ts
@@ -1,4 +1,4 @@
import { ReadonlyVec, Vec } from "@thi.ng/vectors";
import type { ReadonlyVec, Vec } from "@thi.ng/vectors";

export interface SubdivKernel {
/**
Expand Down
2 changes: 1 addition & 1 deletion packages/geom-api/src/tessel.ts
@@ -1,4 +1,4 @@
import { ReadonlyVec, Vec } from "@thi.ng/vectors";
import type { ReadonlyVec, Vec } from "@thi.ng/vectors";

/**
* Tessellation function. Receives a point array representing a polygon
Expand Down

0 comments on commit aa0f356

Please sign in to comment.