diff --git a/browser/dom/edit.ts b/browser/dom/edit.ts index 069475b..7237d43 100644 --- a/browser/dom/edit.ts +++ b/browser/dom/edit.ts @@ -3,7 +3,9 @@ import { press } from "./press.ts"; import { getLineCount } from "./node.ts"; import { range } from "../../range.ts"; import { textInput } from "./dom.ts"; -import { isArray, isNumber, isString } from "@core/unknownutil"; +import { isArray } from "@core/unknownutil/is/array"; +import { isNumber } from "@core/unknownutil/is/number"; +import { isString } from "@core/unknownutil/is/string"; import { delay } from "@std/async/delay"; export const undo = (count = 1): void => { diff --git a/browser/dom/node.ts b/browser/dom/node.ts index f4c60ed..640385b 100644 --- a/browser/dom/node.ts +++ b/browser/dom/node.ts @@ -1,5 +1,8 @@ -import { isNumber, isString, isUndefined } from "@core/unknownutil"; -import { ensure, isArray } from "@core/unknownutil"; +import { isArray } from "@core/unknownutil/is/array"; +import { isNumber } from "@core/unknownutil/is/number"; +import { isString } from "@core/unknownutil/is/string"; +import { ensure } from "@core/unknownutil/ensure"; +import { isUndefined } from "@core/unknownutil/is/undefined"; import { getCachedLines } from "./getCachedLines.ts"; import { takeInternalLines } from "./takeInternalLines.ts"; import type { BaseLine, Line } from "@cosense/types/userscript"; diff --git a/rest/parseHTTPError.ts b/rest/parseHTTPError.ts index cec4fbf..54f6d00 100644 --- a/rest/parseHTTPError.ts +++ b/rest/parseHTTPError.ts @@ -9,12 +9,11 @@ import type { SessionError, } from "@cosense/types/rest"; import type { Maybe } from "option-t/maybe"; -import { - isArrayOf, - isLiteralOneOf, - isRecord, - isString, -} from "@core/unknownutil"; +import { isArrayOf } from "@core/unknownutil/is/array-of"; +import { isLiteralOneOf } from "@core/unknownutil/is/literal-one-of"; +import { isRecord } from "@core/unknownutil/is/record"; +import { isString } from "@core/unknownutil/is/string"; + import type { HTTPError } from "./responseIntoResult.ts"; export interface RESTfullAPIErrorMap { diff --git a/text.ts b/text.ts index 69668e0..74a5ea4 100644 --- a/text.ts +++ b/text.ts @@ -1,4 +1,4 @@ -import { isString } from "@core/unknownutil"; +import { isString } from "@core/unknownutil/is/string"; /** インデント数を数える */ export const getIndentCount = (text: string): number =>