Skip to content

Commit

Permalink
refactor(resolve-map): replace SEMAPHORE const w/ thi.ng/api def
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Aug 9, 2018
1 parent 9b443cb commit bea7a1f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/resolve-map/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import { SEMAPHORE } from "@thi.ng/api/api";
import { isArray } from "@thi.ng/checks/is-array";
import { isFunction } from "@thi.ng/checks/is-function";
import { isPlainObject } from "@thi.ng/checks/is-plain-object";
import { isString } from "@thi.ng/checks/is-string";
import { illegalArgs } from "@thi.ng/errors/illegal-arguments";
import { getIn, mutIn } from "@thi.ng/paths";

const SEMAPHORE = Symbol("SEMAPHORE");

const RE_ARGS = /^(function\s+\w+)?\s*\(\{([\w\s,:]+)\}/

export type ResolveFn = (path: string) => any;
Expand Down

0 comments on commit bea7a1f

Please sign in to comment.