File tree Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Expand file tree Collapse file tree 4 files changed +14
-10
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,9 @@ import { press } from "./press.ts";
3
3
import { getLineCount } from "./node.ts" ;
4
4
import { range } from "../../range.ts" ;
5
5
import { textInput } from "./dom.ts" ;
6
- import { isArray , isNumber , isString } from "@core/unknownutil" ;
6
+ import { isArray } from "@core/unknownutil/is/array" ;
7
+ import { isNumber } from "@core/unknownutil/is/number" ;
8
+ import { isString } from "@core/unknownutil/is/string" ;
7
9
import { delay } from "@std/async/delay" ;
8
10
9
11
export const undo = ( count = 1 ) : void => {
Original file line number Diff line number Diff line change 1
- import { isNumber , isString , isUndefined } from "@core/unknownutil" ;
2
- import { ensure , isArray } from "@core/unknownutil" ;
1
+ import { isArray } from "@core/unknownutil/is/array" ;
2
+ import { isNumber } from "@core/unknownutil/is/number" ;
3
+ import { isString } from "@core/unknownutil/is/string" ;
4
+ import { ensure } from "@core/unknownutil/ensure" ;
5
+ import { isUndefined } from "@core/unknownutil/is/undefined" ;
3
6
import { getCachedLines } from "./getCachedLines.ts" ;
4
7
import { takeInternalLines } from "./takeInternalLines.ts" ;
5
8
import type { BaseLine , Line } from "@cosense/types/userscript" ;
Original file line number Diff line number Diff line change @@ -9,12 +9,11 @@ import type {
9
9
SessionError ,
10
10
} from "@cosense/types/rest" ;
11
11
import type { Maybe } from "option-t/maybe" ;
12
- import {
13
- isArrayOf ,
14
- isLiteralOneOf ,
15
- isRecord ,
16
- isString ,
17
- } from "@core/unknownutil" ;
12
+ import { isArrayOf } from "@core/unknownutil/is/array-of" ;
13
+ import { isLiteralOneOf } from "@core/unknownutil/is/literal-one-of" ;
14
+ import { isRecord } from "@core/unknownutil/is/record" ;
15
+ import { isString } from "@core/unknownutil/is/string" ;
16
+
18
17
import type { HTTPError } from "./responseIntoResult.ts" ;
19
18
20
19
export interface RESTfullAPIErrorMap {
Original file line number Diff line number Diff line change 1
- import { isString } from "@core/unknownutil" ;
1
+ import { isString } from "@core/unknownutil/is/string " ;
2
2
3
3
/** インデント数を数える */
4
4
export const getIndentCount = ( text : string ) : number =>
You can’t perform that action at this time.
0 commit comments