Skip to content

Commit 4b1160e

Browse files
committed
refactor: fix relative import paths
1 parent 05e2179 commit 4b1160e

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

src/block/node/DecorationNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { convertToNodes } from ".";
1+
import { convertToNodes } from "./index";
22
import { createNodeParser } from "./creator";
33
import { createPlainNode } from "./PlainNode";
44

src/block/node/NumberListNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { convertToNodes } from ".";
1+
import { convertToNodes } from "./index";
22
import { createNodeParser } from "./creator";
33
import { createPlainNode } from "./PlainNode";
44

src/block/node/QuoteNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { convertToNodes } from ".";
1+
import { convertToNodes } from "./index";
22
import { createNodeParser } from "./creator";
33
import { createPlainNode } from "./PlainNode";
44

src/block/node/StrongNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { convertToNodes } from ".";
1+
import { convertToNodes } from "./index";
22
import { createNodeParser } from "./creator";
33
import { createPlainNode } from "./PlainNode";
44

src/block/node/creator.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import { convertToNodes } from ".";
1+
import { convertToNodes } from "./index";
22

3-
import type { NodeParser, NodeParserOption } from ".";
3+
import type { NodeParser, NodeParserOption } from "./index";
44
import type { Node } from "./type";
55

66
export type NodeCreator<T extends Node> = (

0 commit comments

Comments
 (0)