Skip to content

Commit

Permalink
refactor(parse): update type-only imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Dec 7, 2020
1 parent 91817aa commit 85874bc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/parse/src/api.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { Fn, Fn0, IObjectOf, Nullable } from "@thi.ng/api";
import { ParseContext } from "./context";
import type { ParseContext } from "./context";

export interface ParseScope<T> {
id: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/parse/src/combinators/dynamic.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Nullable } from "@thi.ng/api";
import type { DynamicParser, Parser } from "../api";
import { ParseContext } from "../context";
import type { ParseContext } from "../context";

/**
* Returns a parser function placeholder, whose implementation can be
Expand Down
2 changes: 1 addition & 1 deletion packages/parse/src/error.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defError } from "@thi.ng/errors";
import { ParseContext } from "./context";
import type { ParseContext } from "./context";

const ParseError = defError(() => `ParseError`);

Expand Down
2 changes: 1 addition & 1 deletion packages/parse/src/xform/nest.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Parser, ScopeTransform } from "../api";
import type { Parser, ScopeTransform } from "../api";
import { xform } from "../combinators/xform";
import { defContext } from "../context";
import { xfJoin } from "./join";
Expand Down

0 comments on commit 85874bc

Please sign in to comment.